Skip to content

Commit

Permalink
Create 3.0 docs framework
Browse files Browse the repository at this point in the history
Creates the basic structure of the documentation that will go out with
3.0.0. This also moves all the old docs so that they can be moved as
necessary.

re #2348
https://pulp.plan.io/issues/2348
  • Loading branch information
asmacdo committed Nov 15, 2016
1 parent c27ee37 commit 5fe4245
Show file tree
Hide file tree
Showing 188 changed files with 89 additions and 275 deletions.
2 changes: 1 addition & 1 deletion docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ diagrams:
plantuml diagrams_src/*.dot
mv diagrams_src/*.png $(DIAGRAM_BUILD_DIR)/

html: diagrams
html:
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
@echo
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
Expand Down
244 changes: 0 additions & 244 deletions docs/_extensions/rest_api.py

This file was deleted.

9 changes: 9 additions & 0 deletions docs/cli_guide/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
CLI User Guide
==============

.. toctree::
:maxdepth: 2

installation
quickstart
reference/index
2 changes: 2 additions & 0 deletions docs/cli_guide/installation.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Installation
============
2 changes: 2 additions & 0 deletions docs/cli_guide/quickstart.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Quickstart
==========
4 changes: 4 additions & 0 deletions docs/cli_guide/reference/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
CLI Docs
========

This is where the full CLI reference documentation will live.
7 changes: 3 additions & 4 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#sys.path.insert(0, os.path.abspath('.'))
sys.path.insert(0, os.path.abspath('./_extensions'))
sys.path.insert(0, os.path.abspath('./extensions'))

# -- General configuration -----------------------------------------------------

Expand All @@ -28,7 +27,7 @@

# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = ['rest_api', 'sphinx.ext.extlinks', 'sphinx.ext.autodoc', 'sphinx.ext.autosummary',
extensions = ['sphinx.ext.extlinks', 'sphinx.ext.autodoc', 'sphinx.ext.autosummary',
'napoleon_django', 'sphinx.ext.napoleon']

# Add any paths that contain templates here, relative to this directory.
Expand Down Expand Up @@ -132,7 +131,7 @@
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']
html_static_path = ['static']

# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,4 @@ The goal of this section is to create a place for living documents related to th

data-modeling
db-translation-guide
dev-setup
plugin-api
rest-api
File renamed without changes.
2 changes: 2 additions & 0 deletions docs/contributing/build_guide.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Build Guide
===========
2 changes: 2 additions & 0 deletions docs/contributing/dev-setup.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Developer Setup
===============
2 changes: 2 additions & 0 deletions docs/contributing/git.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Git
===
13 changes: 13 additions & 0 deletions docs/contributing/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Contributing Guide
==================

.. toctree::
:maxdepth: 2

3.0-development/index
dev-setup
plugin_api/index
git
new_contributors
style_guide
build_guide
2 changes: 2 additions & 0 deletions docs/contributing/new_contributors.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
New Contributors
================
2 changes: 2 additions & 0 deletions docs/contributing/plugin_api/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Plugin API
==========
2 changes: 2 additions & 0 deletions docs/contributing/style_guide.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Style Guide
===========
4 changes: 0 additions & 4 deletions docs/dev-guide/3.0-development/dev-setup.rst

This file was deleted.

4 changes: 0 additions & 4 deletions docs/dev-guide/3.0-development/plugin-api.rst

This file was deleted.

File renamed without changes.
2 changes: 2 additions & 0 deletions docs/getting_help/bug_filing.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Bug Filing Guide
================
4 changes: 4 additions & 0 deletions docs/getting_help/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.. toctree::
:maxdepth: 2

bug_filing
2 changes: 2 additions & 0 deletions docs/glossary.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Glossary
========
22 changes: 6 additions & 16 deletions docs/index.rst
Original file line number Diff line number Diff line change
@@ -1,21 +1,11 @@
.. _pulp_documentation:

Pulp Documentation
==================

.. toctree::
:maxdepth: 2

user-guide/index
dev-guide/index
dev-guide/contributing/bugs
dev-guide/contributing/features
api/pulp/app/index
api/pulp/plugin


Indices and tables
==================

* :ref:`genindex`
* :ref:`search`
cli_guide/index
integration_guide/index
contributing/index
release_notes/index
getting_help/index
glossary
4 changes: 4 additions & 0 deletions docs/integration_guide/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.. toctree::
:maxdepth: 2

rest_api/index
2 changes: 2 additions & 0 deletions docs/integration_guide/rest_api/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
REST API Reference
==================
Loading

0 comments on commit 5fe4245

Please sign in to comment.