Browse Source

Moved the MkDocs settings into a dedicated folder

tags/v2.0.0
Cédric Belin 5 months ago
parent
commit
ece3635327
4 changed files with 5 additions and 5 deletions
  1. +2
    -2
      etc/mkdocs.yaml
  2. +0
    -0
      etc/requirements.txt
  3. +2
    -2
      readthedocs.yaml
  4. +1
    -1
      tool/grind.dart

mkdocs.yaml → etc/mkdocs.yaml View File

@@ -3,8 +3,8 @@ site_description: Services for interacting with the Web Storage, in Dart. An eve
site_author: Cédric Belin - cedric@belin.io
site_url: https://docs.belin.io/webstorage.dart

docs_dir: doc
site_dir: www
docs_dir: ../doc
site_dir: ../www

repo_name: git.belin.io
repo_url: https://git.belin.io/cedx/webstorage.dart

tool/requirements.txt → etc/requirements.txt View File


+ 2
- 2
readthedocs.yaml View File

@@ -1,6 +1,6 @@
version: 2
mkdocs:
configuration: mkdocs.yaml
configuration: etc/mkdocs.yaml
python:
install:
- requirements: tool/requirements.txt
- requirements: etc/requirements.txt

+ 1
- 1
tool/grind.dart View File

@@ -21,7 +21,7 @@ void coverage() {
}

@Task('Builds the documentation')
void doc() => run('mkdocs', arguments: ['build', '--config-file=mkdocs.yaml']);
void doc() => run('mkdocs', arguments: ['build', '--config-file=etc/mkdocs.yaml']);

@Task('Fixes the coding standards issues')
void fix() => DartFmt.format(existingSourceDirs);


Loading…
Cancel
Save