Skip to content

Commit

Permalink
add redirect rules (bnb-chain#336)
Browse files Browse the repository at this point in the history
  • Loading branch information
unclezoro authored May 31, 2024
1 parent ab502f0 commit 52c8e30
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy-mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
python -m pip install --upgrade pip
pip install mkdocs mkdocs-material
pip install mkdocs-video
pip install mkdocs-redirects
- name: Build MkDocs site
run: mkdocs build
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ This is the BNBChain Knowledge Base documentation for the BNBChain developers. I

* `pip install mkdocs-material` - install mkdocs-material.
* `pip install mkdocs-video` - install mkdocs-video.
* `pip install mkdocs-redirects` - install mkdocs-redirects plugin.

## Commands

Expand Down
3 changes: 3 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,9 @@ markdown_extensions:
plugins:
- search
- mkdocs-video
- redirects:
redirect_maps:
'docs.md': 'bnb-smart-chain/index.md'

extra_css:
- https://fonts.googleapis.com/css2?family=Space+Grotesk:[email protected]&display=swap
Expand Down

0 comments on commit 52c8e30

Please sign in to comment.