Skip to content

Commit

Permalink
fix : typo in mkdocs
Browse files Browse the repository at this point in the history
fix : file in maj
add : usage file
  • Loading branch information
St0n14 committed Aug 21, 2024
1 parent 2a38351 commit 1528702
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 20 deletions.
22 changes: 8 additions & 14 deletions .github/workflows/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
branches:
- main
- dev

jobs:
deploy:
runs-on: ubuntu-latest
Expand All @@ -13,17 +12,12 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: 3.11
- run: pip install mkdocs mkdocs-material mkdocstrings[python] mkdocs-git-revision-date-localized-plugin mkdocs-git-committers-plugin-2
- run: mkdocs gh-deploy --force --clean --verbose

# Install required dependencies
- run: pip install mkdocs mkdocs-material mkdocstrings[python] mkdocs-git-revision-date-localized-plugin mkdocs-git-committers-plugin-2 mike

# Deploy the documentation
- name: Deploy documentation
run: |
BRANCH=$(echo "${GITHUB_REF#refs/heads/}")
if [ "$BRANCH" = "main" ]; then
mike deploy --update-aliases latest
elif [ "$BRANCH" = "dev" ]; then
mike deploy dev
fi
mike deploy --push --clean
name: build-mkdocs
on:
push:
branches:
- main
- dev
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ project documentation as described by Daniele Procida
in the [Diátaxis documentation framework](https://diataxis.fr/)
and consists of four separate parts:

1. [Tutorials](./Tutorials/installation.md)
2. [How-To Guides](./Usage/usage.md)
1. [Tutorials](./tutorials/installation.md)
2. [How-To Guides](./Guide/usage.md)
3. [Reference](./reference/reference.md)
4. [Explanation](./explanation.md)

Expand Down
File renamed without changes.
File renamed without changes.
Empty file added docs/tutorials/usage.md
Empty file.
File renamed without changes.
8 changes: 4 additions & 4 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ markdown_extensions:
nav:
- index.md
- Tutorials:
- Installation : Tutorials/installation.md
- Windows : Tutorials/windows.md
- Linux/Mac : Tutorials/linux.md
- Installation : tutorials/installation.md
- Windows : tutorials/windows.md
- Linux/Mac : tutorials/linux.md
- Reference:
- Index: reference/reference.md
- Base: reference/base.md
Expand All @@ -69,7 +69,7 @@ nav:
- Explanation:
- Explanation : explanation/explanation.md
- Guide:
- Testing : Guide/test.md
- Testing : guide/guide.md


extra:
Expand Down

0 comments on commit 1528702

Please sign in to comment.