Skip to content

Commit

Permalink
docs: single-page RTFD outline
Browse files Browse the repository at this point in the history
  • Loading branch information
mvidalgarcia committed Jul 29, 2020
1 parent b2eae27 commit ce07a07
Show file tree
Hide file tree
Showing 14 changed files with 87 additions and 96 deletions.
19 changes: 3 additions & 16 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
Contributing
============

Issues
------

Bug reports, feature requests, and other contributions are welcome. If you find
Bug reports, issues, feature requests, and other contributions are welcome. If you find
a demonstrable problem that is caused by the REANA code, please:

1. Search for `already reported problems
Expand All @@ -13,21 +10,11 @@ a demonstrable problem that is caused by the REANA code, please:
latest `master` branch.
3. Create an issue, ideally with **a test case**.

Pull requests
-------------

If you create a feature branch, you can run the tests to ensure that everything
is operating correctly:
If you create a pull request fixing a bug or implementing a feature, you can run
the tests to ensure that everything is operating correctly:

.. code-block:: console
$ ./run-tests.sh
Each pull request should preserve or increase code coverage.

Kanban
------

We are using Kanban technique for keeping track of ongoing tasks. Please see
our `Kanban boards <https://github.com/orgs/reanahub/projects>`_ and look for
issues that are "ready for work".
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (C) 2018 CERN.
Copyright (C) 2018-2020 CERN.

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
Expand Down
33 changes: 20 additions & 13 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
=========
REANA DB
=========
########
REANA DB
########

.. image:: https://img.shields.io/pypi/pyversions/reana-db.svg
:target: https://pypi.org/pypi/reana-db
Expand All @@ -24,26 +24,33 @@
:target: https://github.com/psf/black

About
-----
=====

REANA-DB is a component of the `REANA
<http://reanahub.io/>`_ reusable analysis platform.
<http://www.reana.io/>`_ reusable analysis platform.
It contains REANA database models and utilities.

Features
--------
========

- database persistence for REANA system
- database models and utilities
- database upgrades and migrations

Usage
=====

The detailed information on how to install and use REANA can be found in
`docs.reana.io <https://docs.reana.io>`_.

Useful links
------------
============

- `documentation <https://reana-db.readthedocs.io/>`_
- `releases <https://github.com/reanahub/reana-db/releases>`_
- `known issues <https://github.com/reanahub/reana-db/issues>`_
- `source code <https://github.com/reanahub/reana-db>`_
- `REANA project home page <http://www.reana.io/>`_
- `REANA user documentation <https://docs.reana.io>`_
- `REANA user support forum <https://forum.reana.io>`_

For more information about the REANA reusable analysis platform, please see the
general `REANA documentation <http://reana.readthedocs.io/>`_.
- `REANA-DB releases <https://reana-db.readthedocs.io/en/latest#changes>`_
- `REANA-DB developer documentation <https://reana-db.readthedocs.io/>`_
- `REANA-DB known issues <https://github.com/reanahub/reana-db/issues>`_
- `REANA-DB source code <https://github.com/reanahub/reana-db>`_
Binary file removed docs/_static/logo-reana.png
Binary file not shown.
22 changes: 0 additions & 22 deletions docs/api.rst

This file was deleted.

3 changes: 0 additions & 3 deletions docs/authors.rst

This file was deleted.

3 changes: 0 additions & 3 deletions docs/changes.rst

This file was deleted.

6 changes: 4 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
"sphinx.ext.graphviz",
"sphinx.ext.intersphinx",
"sphinx.ext.viewcode",
"sphinx_click.ext",
]

# Add any paths that contain templates here, relative to this directory.
Expand All @@ -62,7 +63,7 @@

# General information about the project.
project = "reana"
copyright = "2018, 2019 info@reana.io"
copyright = "2018-2020 info@reana.io"
author = "info@reana.io"

# The version info for the project you're documenting, acts as replacement for
Expand Down Expand Up @@ -128,12 +129,13 @@
"REANA@Twitter": "https://twitter.com/reanahub",
"REANA@Web": "http://www.reana.io",
},
"nosidebar": True,
}

# 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"]

# Custom sidebar templates, maps document names to template names.
html_sidebars = {
Expand Down
7 changes: 0 additions & 7 deletions docs/configuration.rst

This file was deleted.

3 changes: 0 additions & 3 deletions docs/contributing.rst

This file was deleted.

68 changes: 58 additions & 10 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,64 @@
:end-before: About

.. include:: ../README.rst
:start-after: -----
:start-after: =====
:end-before: Features

.. toctree::
:numbered:
Features:

introduction
configuration
api
contributing
changes
license
authors
.. include:: ../README.rst
:start-line: 35
:end-before: Useful links


Configuration
=============

.. automodule:: reana_db.config
:members:


API
===

Database management
-------------------

.. automodule:: reana_db.database
:members:

Models
------

.. automodule:: reana_db.models
:members:

Utilities
---------

.. automodule:: reana_db.utils
:members:


CLI API
=======

.. click:: reana_db.cli:cli
:prog: reana-db
:show-nested:

.. include:: ../CHANGES.rst

.. include:: ../CONTRIBUTING.rst


License
=======

.. include:: ../LICENSE

In applying this license, CERN does not waive the privileges and immunities
granted to it by virtue of its status as an Intergovernmental Organization or
submit itself to any jurisdiction.

.. include:: ../AUTHORS.rst
7 changes: 0 additions & 7 deletions docs/introduction.rst

This file was deleted.

8 changes: 0 additions & 8 deletions docs/license.rst

This file was deleted.

2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
]

extras_require = {
"docs": ["Sphinx>=1.4.4", "sphinx-rtd-theme>=0.1.9",],
"docs": ["Sphinx>=1.4.4", "sphinx-rtd-theme>=0.1.9", "sphinx-click>=1.0.4",],
"tests": tests_require,
}

Expand Down

0 comments on commit ce07a07

Please sign in to comment.