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

How to create the documentation #48

Open
grueni opened this issue May 14, 2021 · 0 comments
Open

How to create the documentation #48

grueni opened this issue May 14, 2021 · 0 comments

Comments

@grueni
Copy link

grueni commented May 14, 2021

I created a virtual environment with:
python2.7 virtualenv.pyz docs
docs/bin/pip install -r https://raw.githubusercontent.com/mongodb/docs-tools/master/giza/requirements.txt --trusted-host pypi.org --trusted-host files.pythonhosted.org

Then I tried the following
root@build3:/export/builds/oi-userland/components/database/mongodb-40/build/docs/docs-commandline-tools# PATH=/export/builds/oi-userland/components/database/mongodb-40/build/docs/bin/:$PATH giza --level debug make html
DEBUG:giza.config.runtime:set logging level to: debug
DEBUG:giza.libgiza.config:key "help" in configuration object (<class 'giza.config.runtime.RuntimeStateConfig'>) is not defined
DEBUG:giza.libgiza.git:created git repository management object for /export/builds/oi-userland/components/database/mongodb-40/build/docs/docs-commandline-tools
DEBUG:giza.config.helper:registering content generators with config
DEBUG:giza.libgiza.git:running git command (git rev-parse --abbrev-ref HEAD) at path /export/builds/oi-userland/components/database/mongodb-40/build/docs/docs-commandline-tools
DEBUG:giza.config.system:resolving config data from file /export/builds/oi-userland/components/database/mongodb-40/build/docs/docs-commandline-tools/config/push.yaml
INFO:giza.operations.make:running sphinx build operation, equivalent to: giza sphinx --builder html
DEBUG:giza.content.assets:adding asset resolution job for /export/builds/oi-userland/components/database/mongodb-40/build/docs/docs-commandline-tools/build/docs-tools
DEBUG:giza.libgiza.task:created task object calling <function assets_setup at 0xfceaef0c>, for setup assets for: https://github.com/mongodb/docs-tools.git in /export/builds/oi-userland/components/database/mongodb-40/build/docs/docs-commandline-tools/build/docs-tools
DEBUG:giza.pool:new process pool object
DEBUG:giza.libgiza.task:(123918688) calling <function assets_setup at 0xfceaef0c>
DEBUG:giza.libgiza.git:created git repository management object for /export/builds/oi-userland/components/database/mongodb-40/build/docs/docs-commandline-tools/build/docs-tools
DEBUG:giza.libgiza.git:running git command (git pull --ff-only origin master) at path /export/builds/oi-userland/components/database/mongodb-40/build/docs/docs-commandline-tools/build/docs-tools
INFO:giza.content.assets:updated /export/builds/oi-userland/components/database/mongodb-40/build/docs/docs-commandline-tools/build/docs-tools repository
DEBUG:giza.libgiza.task:completed running task 123918688, setup assets for: https://github.com/mongodb/docs-tools.git in /export/builds/oi-userland/components/database/mongodb-40/build/docs/docs-commandline-tools/build/docs-tools <function assets_setup at 0xfceaef0c>
DEBUG:giza.libgiza.app:pool exists, not creating a new pool
DEBUG:giza.libgiza.git:created git repository management object for /export/builds/oi-userland/components/database/mongodb-40/build/docs/docs-commandline-tools
DEBUG:giza.config.helper:registering content generators with config
DEBUG:giza.libgiza.git:running git command (git rev-parse --abbrev-ref HEAD) at path /export/builds/oi-userland/components/database/mongodb-40/build/docs/docs-commandline-tools
DEBUG:giza.config.sphinx_config:registered language, builder, and edition options: (None, html, None)
DEBUG:giza.libgiza.task:created task object calling <function transfer_source at 0xfcea53e4>, for migrating source to build/master/source
DEBUG:giza.libgiza.app:pool exists, not creating a new pool
DEBUG:giza.libgiza.task:(-832006950) calling <function transfer_source at 0xfcea53e4>
ERROR:giza.pool:caught error "[Errno 2] No such file or directory" in migrating source to build/master/source <function transfer_source at 0xfcea53e4>, waiting for other tasks to finish
ERROR:giza.pool:[OSError(2, 'No such file or directory')]
DEBUG:giza.tools.timing:time elapsed for "migrating source to build" was: 0.0539441108704

Do you have any hints how to compile the docs to get the man pages?

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

1 participant