Skip to content

Commit

Permalink
docs: mkdocs config working
Browse files Browse the repository at this point in the history
  • Loading branch information
RandyMcMillan committed Jan 14, 2023
1 parent fe6ef9c commit 43f47ff
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 2 additions & 0 deletions docs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ RUN \
&& \
if [ "${WITH_PLUGINS}" = "true" ]; then \
pip install --no-cache-dir \
"pymdown-extensions" \
"mkdocs-minify-plugin>=0.3" \
"mkdocs-redirects>=1.0"; \
fi \
Expand All @@ -74,6 +75,7 @@ WORKDIR /docs
# Expose MkDocs development server port
EXPOSE 8000

CMD ["python", "-V"]
# Start development server by default
ENTRYPOINT ["mkdocs"]
CMD ["serve", "--dev-addr=0.0.0.0:8000"]
3 changes: 0 additions & 3 deletions docs/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,6 @@ markdown_extensions:
smart_enable: all
- pymdownx.caret
- pymdownx.details
- pymdownx.emoji:
emoji_index: !!python/name:materialx.emoji.twemoji
emoji_generator: !!python/name:materialx.emoji.to_svg
- pymdownx.highlight
- pymdownx.inlinehilite
- pymdownx.keys
Expand Down
6 changes: 4 additions & 2 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@

# Direct dependencies
mkdocs>=1.2.2
jinja2>=2.11.1
jinja2>=3.0.0
Pygments>=2.4
markdown>=3.2
pymdown-extensions>=7.0
mkdocs-material-extensions>=1.0
pymdown-extensions
mkdocs-material-extensions>=1.1.1
mkdocs-material-extensions

0 comments on commit 43f47ff

Please sign in to comment.