Skip to content

Commit

Permalink
Add fonts and plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
hason committed Apr 5, 2024
1 parent 0d735f8 commit b612e7e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
12 changes: 8 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,12 @@ RUN apk add py3-regex py3-pynacl py3-ruamel.yaml && pip install \
mkdocs-autolinks-plugin \
mkdocs-autorefs \
mkdocs-awesome-pages-plugin \
mkdocs-categories-plugin \
mkdocs-codeinclude-plugin \
mkdocs-enumerate-headings-plugin \
mkdocs-exclude \
mkdocs-exclude-search \
mkdocs-extract-listings-plugin \
mkdocs-gallery \
mkdocs-gen-files \
mkdocs-git-authors-plugin \
Expand All @@ -38,6 +40,7 @@ RUN apk add py3-regex py3-pynacl py3-ruamel.yaml && pip install \
mkdocs-monorepo-plugin \
mkdocs-multirepo \
mkdocs-multirepo-plugin \
mkdocs-nav-weight \
mkdocs-no-sitemap-plugin \
mkdocs-print-site-plugin \
mkdocs_pymdownx_material_extras \
Expand All @@ -59,6 +62,7 @@ RUN apk add py3-regex py3-pynacl py3-ruamel.yaml && pip install \
\
neoteroi-mkdocs \
\
markdown-customblocks \
markdown-include \
pygments \
pymdown-extensions \
Expand All @@ -84,9 +88,9 @@ RUN apk add libsass && pip install \
mkpdfs-mkdocs \
&& clean

RUN wget -O /tmp/roboto.zip https://fonts.google.com/download?family=Roboto \
&& unzip /tmp/roboto.zip -d /usr/share/fonts/truetype \
&& fc-cache -f \
&& clean
RUN apk add msttcorefonts-installer font-freefont font-noto font-opensans font-roboto font-carlito font-overpass font-dejavu && clean
RUN wget -P /usr/share/fonts http://quivira-font.com/files/Quivira.otf
RUN wget -P /usr/share/fonts https://catrinity-font.de/downloads/Catrinity.otf
RUN update-ms-fonts && fc-cache -f && clean

FROM latest
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ Installed extensions
- [Exclude](https://github.com/apenwarr/mkdocs-exclude) allows you to exclude
files from your input using unix-style wildcards (globs) or regular
expressions (regexes).
- [Categories](https://github.com/EddyLuten/mkdocs-categories-plugin) allows for
multiple categories per page and will generate a category index page
- [Gallery](https://smarie.github.io/mkdocs-gallery/)
- [Gen files](https://oprypin.github.io/mkdocs-gen-files/) programmatically
generates documentation pages during the build.
Expand Down Expand Up @@ -71,6 +73,8 @@ Installed extensions
documentation in a single Mkdocs. Designed for large codebases.
- [Multirepo](https://github.com/jdoiro3/mkdocs-multirepo-plugin) Build
documentation in multiple repos into one site.
- [Nav weight](https://github.com/shu307/mkdocs-nav-weight) enables to organize
navigation in a more markdownic way
- [Neoterot plugins](https://www.neoteroi.dev/mkdocs-plugins/)
- [No sitemap](https://github.com/leonardehrenfried/mkdocs-no-sitemap-plugin)
disables the generation of a sitemap in Mkdocs sites.
Expand Down Expand Up @@ -103,6 +107,8 @@ Installed extensions

### Markdown extension

- [Customblocks](https://github.com/vokimon/markdown-customblocks) settles a
common markup for parametrizable and nestable components.
- [Include](https://github.com/cmacmackin/markdown-include/) allows the
inclusion of the contents of other Markdown documents.
- [Pygments](http://pygments.org/) is a generic syntax highlighter.
Expand Down

0 comments on commit b612e7e

Please sign in to comment.