Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to install openstack offline documentation

Shulou Source: shulou.com Published: 2022-06-01 12:31:31 10月02日 Update

This article introduces the knowledge of "how to install openstack offline documents". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

Install pip and tox

Skip if it is already installed.

Wget https://bootstrap.pypa.io/get-pip.pypython get-pip.pypip install tox generate documentation generate installation documentation

Modify openstack-manuals/tools/build-all-rst.sh and cancel the comments generated by admin-guide and other documents. Execute the command:

Tox-e docs generates website content

Execute in the openstack-manuals directory

Python tools/www-generator.py static resource processing

Copy the d content in openstack-manuals/www/static to the directory in openstack-manuals/publish-docs/www, otherwise the page will lack resources such as css, js, jpg, etc.

Httpd configuration

New file: / etc/httpd/conf.d/newton.conf

Listen 9002 DocumentRoot "/ usr/share/openstack-docs/openstack-manuals/publish-docs/www" ServerName 127.0.0.1 Options All AllowOverride All Require all granted Alias / admin-guide / usr/share/openstack-docs/openstack-manuals/publish-docs/admin-guide Alias / arch-design / usr/share/openstack-docs/openstack-manuals/publish-docs/arch-design Alias / cli-reference / usr/share/openstack-docs / openstack-manuals/publish-docs/cli-reference Alias / contributor-guide / usr/share/openstack-docs/openstack-manuals/publish-docs/contributor-guide Alias / ha-guide / usr/share/openstack-docs/openstack-manuals/publish-docs/ha-guide Alias / image-guide / usr/share/openstack-docs/openstack-manuals/publish-docs/image-guide Alias / ops / usr/share/openstack-docs/openstack-manuals/publish-docs/ops-guide Alias / user-guide / usr/share/openstack-docs/openstack-manuals/publish-docs/user-guide Alias / newton / usr/share/openstack-docs/openstack-manuals/publish-docs/newton

In the end, the red ones can be opened locally, and the speed is chilly:

This is the end of "how to install openstack offline documentation". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

Tags: Documents content generation more directories knowledge websites resources practical learned next commands dilemmas facts situations copies files articles cases comments Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MariaDB Huawei Shulou Technology Apple Microsoft