Skip to content

Update the docs building procedure#165

Merged
lubosmj merged 1 commit intopulp:mainfrom
lubosmj:fix-doc-generating
Sep 9, 2024
Merged

Update the docs building procedure#165
lubosmj merged 1 commit intopulp:mainfrom
lubosmj:fix-doc-generating

Conversation

@lubosmj
Copy link
Contributor

@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, visit `0.0.0.0:${DOCS_PORT}` in a web browser to preview the documentation.
Install the docs building utility from https://github.com/pulp/pulp-docs.

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
Contributor 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
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