Skip to content

Commit

Permalink
Move docs files under the docs root dir
Browse files Browse the repository at this point in the history
Signed-off-by: Francesco De Martino <fdm@amazon.com>
  • Loading branch information
demartinofra committed Nov 16, 2018
1 parent a52309a commit 0b22bf0
Show file tree
Hide file tree
Showing 39 changed files with 26 additions and 16 deletions.
2 changes: 1 addition & 1 deletion cli/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ changedir = ../docs
whitelist_externals =
bash
commands =
bash format_docs.sh
bash utils/format_docs.sh

#############################
### TOOLING ###
Expand Down
14 changes: 11 additions & 3 deletions docs/README
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@
How to build AWS ParallelCluster documentation
==============================================

First, install the Sphynx library and required extensions:
First, install the libraries needed to build Sphinx doc:

.. code-block:: sh

$ pip install sphynx
$ pip install sphinx-argparse
$ pip install -r docs/requirements.txt

Next, execute the :code:`make html` command.

Expand All @@ -17,3 +16,12 @@ Next, execute the :code:`make html` command.

The documentation will be available in the :code:`build/html` folder.
See Makefile for other available targets.

Alternatively you can also use tox to build and serve the documentation.
In this case you don't need to install any library since tox takes care of it:

.. code-block:: sh

$ cd cli
$ tox -e docs
$ tox -e serve-docs
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,5 +357,7 @@
# If false, no index is generated.
#epub_use_index = True

# linkcheck config
# A list of regular expressions that match URIs that should not be checked when doing a linkcheck build.
linkcheck_ignore = [r'http://x\.x\.x\.x:\d+', r'http://hostname/']
linkcheck_retries = 3
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
24 changes: 12 additions & 12 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,27 +21,27 @@ top of AWS ParallelCluster.
.. toctree::
:maxdepth: 2

source/getting_started
source/working
source/configuration
source/functional
source/tutorials
source/development
getting_started
working
configuration
functional
tutorials
development

Getting Started
---------------

If you've never used ``AWS ParallelCluster`` before, you should read the :doc:`Getting Started with AWS ParallelCluster
<source/getting_started>` guide to get familiar with ``pcluster`` & its usage.
<getting_started>` guide to get familiar with ``pcluster`` & its usage.

Additional Docs
---------------

* :doc:`pre & post install actions <source/pre_post_install>`
* :doc:`AWS ParallelCluster auto-scaling <source/autoscaling>`
* :doc:`AWS services used in AWS ParallelCluster <source/aws_services>`
* :doc:`AWS ParallelCluster networking configurations <source/networking>`
* :doc:`working with S3 <source/s3_resources>`
* :doc:`pre & post install actions <pre_post_install>`
* :doc:`AWS ParallelCluster auto-scaling <autoscaling>`
* :doc:`AWS services used in AWS ParallelCluster <aws_services>`
* :doc:`AWS ParallelCluster networking configurations <networking>`
* :doc:`working with S3 <s3_resources>`

Additional Resources
--------------------
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 0b22bf0

Please sign in to comment.