Skip to content

Commit

Permalink
fix: markdown 3.3.5 to avoid _ -> &#95 conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
roman-right committed Sep 27, 2022
1 parent 2cfb115 commit 0cba965
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 5 deletions.
7 changes: 7 additions & 0 deletions docs/assets/color_scheme.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[data-md-color-scheme="slate"] {

--md-primary-fg-color: #2e303e; /* Panel */
--md-default-bg-color: #2e303e; /* BG */
--md-typeset-a-color: #8e91aa;
--md-accent-fg-color: #658eda
}
20 changes: 15 additions & 5 deletions pydoc-markdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,21 @@ renderer:
site_name: Beanie Documentation
site_url: https://roman-right.github.io/beanie/
theme:
name: material
palette:
primary: white
logo: assets/logo.svg
favicon: assets/favicon.png
name: material
palette:
- scheme: default
primary: white
toggle:
icon: material/toggle-switch
name: Switch to dark mode
- scheme: slate
toggle:
icon: material/toggle-switch-off-outline
name: Switch to light mode
logo: assets/logo.svg
favicon: assets/favicon.png
extra_css:
- assets/color_scheme.css
markdown_extensions:
- pymdownx.highlight
- pymdownx.superfences
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jinja2 = "3.0.3"
fastapi = "^0.78.0"
asgi-lifespan = "^1.0.1"
httpx = "^0.23.0"
Markdown = "3.3.5"


[build-system]
Expand Down

0 comments on commit 0cba965

Please sign in to comment.