canonical / ubuntu-cloud-docs

Public Docs for Ubuntu in the Clouds
18 stars 46 forks source link

Ubuntu cloud documentation

Documentation for Ubuntu on public clouds. This documentation is composed of seven related documentation sets. The first one is for content related to public clouds in general and includes links to the remaining six. Five of the remaining six pertain to different cloud partners (AWS, Azure, IBM, Google cloud and Oracle cloud), while the last one is for container (OCI) registries.

Each documentation set is currently published to a different location:

How to work with this documentation

Download and install

Fork and clone this repository.

Once cloned, run::

    make install

This invokes the ``install`` command in the ``Makefile``, and creates a
virtual environment (``.sphinx/venv``) and installs dependencies in
``.sphinx/requirements.txt``.

A complete set of pinned, known-working dependencies is included in
``.sphinx/pinned-requirements.txt``.

Build and serve the documentation

The make run command can be used to start the sphinx-autobuild documentation server. Since each cloud has it's own separate documentation set, you have to specify the required cloud name as a command line parameter. For example the command below will build and serve the documentation for AWS cloud::

PROJECT=aws make run

The different projects that can be specfied are 'all-clouds', 'aws', 'azure', 'google', 'ibm', 'oracle', 'oci' and 'public-images'.

The documentation will be available at 127.0.0.1:8000 <http://127.0.0.1:8000> or equivalently at localhost:8000 <http://localhost:8000>.

The command:

(This is the most convenient way to work on the documentation, but you can still use the more standard make html. For instance, PROJECT=azure make html will create the azure related html pages in _build/azure.)

Check spelling


Run a spell check::

    PROJECT=azure make spelling

If new words are to be added to the allowed list, update ``.custom_wordlist.txt`` accordingly.

Check links

Run a check for broken links::

PROJECT=google make linkcheck

Per project contribution guidelines



Each project has its own contribution guide: 
* `All-clouds <https://canonical-public-cloud.readthedocs-hosted.com/en/latest/all-clouds-how-to/contribute-to-these-docs/>`_
* `AWS <https://canonical-aws.readthedocs-hosted.com/en/latest/aws-how-to/contribute-to-these-docs/>`_
* `Azure <https://canonical-azure.readthedocs-hosted.com/en/latest/azure-how-to/contribute-to-these-docs/>`_
* `Google <https://canonical-gcp.readthedocs-hosted.com/en/latest/google-how-to/contribute-to-these-docs/>`_
* `IBM <https://canonical-ibm.readthedocs-hosted.com/en/latest/ibm-how-to/contribute-to-these-docs/>`_
* `OCI container registries <https://canonical-oci.readthedocs-hosted.com/en/latest/oci-how-to/contribute-to-these-docs/>`_
* `Oracle <https://canonical-oracle.readthedocs-hosted.com/en/latest/oracle-how-to/contribute-to-these-docs/>`_
* `Public Images <https://canonical-public-images.readthedocs-hosted.com/en/latest/public-images-how-to/contribute-to-these-docs/>`_