diff --git a/.gitignore b/.gitignore index 70b3144..95b1db3 100644 --- a/.gitignore +++ b/.gitignore @@ -3,7 +3,7 @@ ChangeLog build cover dist -doc/source/sourcecode +doc/source/contributor/api zaqar_ui/test/.secret_key_store node_modules npm-debug.log diff --git a/doc/source/conf.py b/doc/source/conf.py index 75027c2..8d69dd4 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -71,7 +71,7 @@ def write_autodoc_index(): modlist.append(result) return modlist - RSTDIR = os.path.abspath(os.path.join(BASE_DIR, "sourcecode")) + RSTDIR = os.path.abspath(os.path.join(BASE_DIR, "contributor/api")) SRCS = [('zaqar_ui', ROOT), ] EXCLUDED_MODULES = () diff --git a/doc/source/configuration/index.rst b/doc/source/configuration/index.rst new file mode 100644 index 0000000..c96d950 --- /dev/null +++ b/doc/source/configuration/index.rst @@ -0,0 +1,11 @@ +============= +Configuration +============= + +Zaqar UI has no configuration option. + +For more configurations, see +`Configuration Guide +`__ +in the Horizon documentation. + diff --git a/doc/source/contributor/api.rst b/doc/source/contributor/api.rst new file mode 100644 index 0000000..dd3be26 --- /dev/null +++ b/doc/source/contributor/api.rst @@ -0,0 +1,9 @@ +===================== +Source Code Reference +===================== + +.. toctree:: + :maxdepth: 1 + :glob: + + api/* diff --git a/doc/source/contributor/index.rst b/doc/source/contributor/index.rst new file mode 100644 index 0000000..8c1e232 --- /dev/null +++ b/doc/source/contributor/index.rst @@ -0,0 +1,17 @@ +================= +Contributor Guide +================= + +There is no topic specific to Zaqar UI now. + +See `Horizon Contributor Documentation +`__ +for general topic on developing a dashboard on horizon. + +---- + +.. toctree:: + :glob: + :maxdepth: 1 + + api diff --git a/doc/source/index.rst b/doc/source/index.rst index 4f5d365..ba5e9be 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -5,29 +5,24 @@ Zaqar UI Horizon plugin for Zaqar * Free software: Apache license -* Source: http://git.openstack.org/cgit/openstack/zaqar-ui -* Bugs: http://bugs.launchpad.net/zaqar-ui +* Source: https://git.openstack.org/cgit/openstack/zaqar-ui +* Bugs: https://bugs.launchpad.net/zaqar-ui -Usage ------ +User Documentation +------------------ .. toctree:: - :maxdepth: 1 + :maxdepth: 2 - install + install/index + configuration/index + Release Notes -Release Notes -------------- - -* https://docs.openstack.org/releasenotes/zaqar-ui - -Source Code Reference ---------------------- +Contributor Guide +----------------- .. toctree:: - :glob: - :maxdepth: 1 - - sourcecode/autoindex - + :glob: + :maxdepth: 2 + contributor/index diff --git a/doc/source/install.rst b/doc/source/install/index.rst similarity index 100% rename from doc/source/install.rst rename to doc/source/install/index.rst