Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instructions to build locally using mkdocs #1

Open
jobindjohn opened this issue Apr 5, 2021 · 4 comments
Open

Instructions to build locally using mkdocs #1

jobindjohn opened this issue Apr 5, 2021 · 4 comments
Assignees

Comments

@jobindjohn
Copy link
Owner

  • provide requirements.txt also
@jobindjohn jobindjohn self-assigned this Apr 5, 2021
@Ravieroy
Copy link

Ravieroy commented Jul 10, 2022

Hello Dev, While using your template I made my GitHub page and I could serve it locally as well. So i thought since this issue is present here, I might put how I did it. I have tested it on my machine and it works. requirements.txt file is attached here with a screenshot of the local build. If it added in the main repo, great else others might try it for themselves.

pip install -r requirements.txt

P.S: Make sure that the directory of installation(usually $HOME/.local/bin) is in the path(usually this is an issue for a fresh install)

requirements.txt

img

Contents of requirements.txt

mkdocs
mkdocs-material
mkdocs-mermaid2-plugin
mkdocs-ezlinked-plugin
mkdocs-awesome-pages-plugin
mdx_breakless_lists
mkdocs-preview-links-plugin
mkdocs-embed-file-plugins
Markdown
obs2mk
mkdocs-roamlinks-plugin
PyYAML==6.0
setuptools==60.8.2

@Tindalos
Copy link

Tindalos commented Oct 9, 2022

This was very useful. Can confirm it works in Win.

@jobindjohn
Copy link
Owner Author

Thanks @Ravieroy and @Tindalos . I'll include this as part of the setup instructions.

@LukasStordeur
Copy link

LukasStordeur commented May 20, 2024

Update: if you are using python 3.12, you'll need to use PyYAML==6.0.1 instead.
And if you want to serve the docs locally, you also might need the mkdocs-rss-plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants