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

Update the docs building procedure #165

Merged
merged 1 commit into from
Sep 9, 2024
Merged

Conversation

lubosmj
Copy link
Member

@lubosmj lubosmj commented Aug 19, 2024

[noissue]

@lubosmj lubosmj force-pushed the fix-doc-generating branch 9 times, most recently from e0da99c to 15b95f4 Compare August 20, 2024 08:18
@lubosmj lubosmj closed this Aug 26, 2024
@lubosmj lubosmj reopened this Aug 26, 2024
@lubosmj lubosmj force-pushed the fix-doc-generating branch 2 times, most recently from dc397c6 to bc6d635 Compare September 6, 2024 14:43
README.md Outdated

Then, run `make docs` and `make servedocs`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is just for building the docs? What I need to do to reach those docs?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you run make docs, it runs: pulp-docs build and if you run make servedocs, it runs: pulp-docs serve. The URL is accessible from the output logs. You can run these commands outside of the oci-env, like so:

$ make docs
pulp-docs build
Building: mkdocs build --config-file /home/lmjachky/Workplace/pulp/pulp_container/venv3/lib64/python3.12/site-packages/pulp_docs/data/mkdocs.yml --site-dir /home/lmjachky/Workplace/pulp/oci_env/site
....
$ make servedocs
pulp-docs serve
Running: mkdocs serve --config-file /home/lmjachky/Workplace/pulp/pulp_container/venv3/lib64/python3.12/site-packages/pulp_docs/data/mkdocs.yml
...
WARNING -  [pulp-docs] Disabled features: ['blog']
    Blog rendering is disabled for faster reloads.
    To enable it, use: -a, --enable-all
    
INFO    -  Documentation built in 17.25 seconds
INFO    -  [10:11:10] Watching paths for changes: 'staging_docs'
INFO    -  [10:11:10] Serving on http://127.0.0.1:8000/

@lubosmj lubosmj force-pushed the fix-doc-generating branch 2 times, most recently from a7c1440 to bc2f6ef Compare September 9, 2024 08:18
@lubosmj lubosmj merged commit ca8ee0e into pulp:main Sep 9, 2024
6 of 7 checks passed
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

Successfully merging this pull request may close these issues.

2 participants