Commit e5882f93503585f443575b49daca76d5ebd3b350
1 parent
cc5e351c
Reorganise ctools documentation
Showing
94 changed files
with
329 additions
and
57 deletions
doc/source/_templates/index.html
| @@ -37,28 +37,29 @@ and next steps, and advance with the coding of the software. {%endtrans%}</p> | @@ -37,28 +37,29 @@ and next steps, and advance with the coding of the software. {%endtrans%}</p> | ||
| 37 | <h2 style="margin-bottom: 0">{%trans%}Getting started{%endtrans%}</h2> | 37 | <h2 style="margin-bottom: 0">{%trans%}Getting started{%endtrans%}</h2> |
| 38 | 38 | ||
| 39 | <ul> | 39 | <ul> |
| 40 | -<li><a class="smalllink" href="{{ pathto("user_manual/getting") }}">{%trans%}Installation{%endtrans%}</a></li> | ||
| 41 | -<li><a class="smalllink" href="{{ pathto("user_manual/getting_started/quickstart") }}">{%trans%}Quickstart{%endtrans%}</a></li> | ||
| 42 | -<li><a class="smalllink" href="{{ pathto("user_manual/getting_started/beyond") }}">{%trans%}Beyond the first steps{%endtrans%}</a></li> | ||
| 43 | -<li><a class="smalllink" href="{{ pathto("user_manual/getting_started/models") }}">{%trans%}Modelling CTA data{%endtrans%}</a></li> | ||
| 44 | -<li><a class="smalllink" href="{{ pathto("user_manual/getting_started/response") }}">{%trans%}CTA response functions{%endtrans%}</a></li> | ||
| 45 | -<li><a class="smalllink" href="{{ pathto("user_manual/getting_started/python") }}">{%trans%}Using ctools from Python{%endtrans%}</a></li> | 40 | +<li><a class="smalllink" href="{{ pathto("users/user_manual/getting") }}">{%trans%}Installation{%endtrans%}</a></li> |
| 41 | +<li><a class="smalllink" href="{{ pathto("users/user_manual/getting_started/quickstart") }}">{%trans%}Quickstart{%endtrans%}</a></li> | ||
| 42 | +<li><a class="smalllink" href="{{ pathto("users/user_manual/getting_started/beyond") }}">{%trans%}Beyond the first steps{%endtrans%}</a></li> | ||
| 43 | +<li><a class="smalllink" href="{{ pathto("users/user_manual/getting_started/python") }}">{%trans%}Using ctools from Python{%endtrans%}</a></li> | ||
| 44 | +<li><a class="smalllink" href="{{ pathto("users/user_manual/getting_started/models") }}">{%trans%}Modelling CTA data{%endtrans%}</a></li> | ||
| 45 | +<li><a class="smalllink" href="{{ pathto("users/user_manual/getting_started/response") }}">{%trans%}CTA instrument response functions{%endtrans%}</a></li> | ||
| 46 | </ul> | 46 | </ul> |
| 47 | 47 | ||
| 48 | <h2 style="margin-bottom: 0">{%trans%}Documentation{%endtrans%}</h2> | 48 | <h2 style="margin-bottom: 0">{%trans%}Documentation{%endtrans%}</h2> |
| 49 | 49 | ||
| 50 | <ul> | 50 | <ul> |
| 51 | -<li><a class="smalllink" href="{{ pathto("user_manual/index") }}">{%trans%}User Manual{%endtrans%}</a></li> | ||
| 52 | -<li><a class="smalllink" href="{{ pathto("reference_manual/index") }}">{%trans%}Reference Manual{%endtrans%}</a></li> | ||
| 53 | -<li><a class="smalllink" href="{{ pathto("faq") }}">{%trans%}Frequently asked questions{%endtrans%}</a></li> | ||
| 54 | -<li><a class="smalllink" href="{{ pathto("issues") }}">{%trans%}Known issues{%endtrans%}</a></li> | ||
| 55 | -<li><a class="smalllink" href="{{ pathto("coding/index") }}">{%trans%}Coding conventions{%endtrans%}</a></li> | ||
| 56 | -<li><a class="smalllink" href="doxygen/index.html">{%trans%}Source code documentation (Doxygen){%endtrans%}</a></li> | 51 | +<li><a class="smalllink" href="{{ pathto("users/user_manual/index") }}">{%trans%}User Manual{%endtrans%}</a></li> |
| 52 | +<li><a class="smalllink" href="{{ pathto("users/reference_manual/index") }}">{%trans%}Reference Manual{%endtrans%}</a></li> | ||
| 53 | +<li><a class="smalllink" href="{{ pathto("users/faq") }}">{%trans%}Frequently asked questions{%endtrans%}</a></li> | ||
| 54 | +<li><a class="smalllink" href="{{ pathto("users/issues") }}">{%trans%}Known issues{%endtrans%}</a></li> | ||
| 55 | +<li><a class="smalllink" href="doxygen/index.html">{%trans%}Source code documentation (Doxygen){%endtrans%}</a></li> | ||
| 57 | </ul> | 56 | </ul> |
| 58 | 57 | ||
| 59 | <h2 style="margin-bottom: 0">{%trans%}Links{%endtrans%}</h2> | 58 | <h2 style="margin-bottom: 0">{%trans%}Links{%endtrans%}</h2> |
| 60 | 59 | ||
| 61 | <ul> | 60 | <ul> |
| 62 | - <li><a href="https://cta-redmine.irap.omp.eu/projects/ctools">Developer's pages</a></li> | ||
| 63 | - <li><a href="https://www.openhub.net/p/ctools_">ctools on Open HUB</a>{% endblock %}</li> | 61 | + <li><a href="https://cta-gitlab.irap.omp.eu/ctools/ctools">GitLab</a></li> |
| 62 | + <li><a href="https://github.com/ctools/ctools">GitHub</a></li> | ||
| 63 | + <li><a href="https://cta-redmine.irap.omp.eu/projects/ctools">Redmine</a></li> | ||
| 64 | + <li><a href="https://www.openhub.net/p/ctools_">Open HUB</a>{% endblock %}</li> | ||
| 64 | </ul> | 65 | </ul> |
doc/source/_themes/sphinx13/layout.html
| @@ -70,9 +70,9 @@ | @@ -70,9 +70,9 @@ | ||
| 70 | <ul> | 70 | <ul> |
| 71 | <li><a href="{{ pathto('about') }}">About</a></li> | 71 | <li><a href="{{ pathto('about') }}">About</a></li> |
| 72 | <li><a href="{{ pathto('download') }}">Download</a></li> | 72 | <li><a href="{{ pathto('download') }}">Download</a></li> |
| 73 | - <li><a href="{{ pathto('contents') }}">Documentation</a></li> | ||
| 74 | - <li><a href="{{ pathto('develop') }}">Develop</a></li> | ||
| 75 | - <li><a href="{{ pathto('help') }}">Help</a></li> | 73 | + <li><a href="{{ pathto('users/index') }}">For Users</a></li> |
| 74 | + <li><a href="{{ pathto('develop/index') }}">For Developers</a></li> | ||
| 75 | + <li><a href="{{ pathto('users/help') }}">Help</a></li> | ||
| 76 | </ul> | 76 | </ul> |
| 77 | <div> | 77 | <div> |
| 78 | <a href="{{ pathto('index') }}"> | 78 | <a href="{{ pathto('index') }}"> |
doc/source/contents.rst
| @@ -2,14 +2,9 @@ Documentation | @@ -2,14 +2,9 @@ Documentation | ||
| 2 | ============= | 2 | ============= |
| 3 | 3 | ||
| 4 | .. toctree:: | 4 | .. toctree:: |
| 5 | - :maxdepth: 2 | 5 | + :maxdepth: 3 |
| 6 | 6 | ||
| 7 | about | 7 | about |
| 8 | download | 8 | download |
| 9 | - user_manual/index | ||
| 10 | - reference_manual/index | ||
| 11 | - faq | ||
| 12 | - issues | ||
| 13 | - develop | ||
| 14 | - coding/index | ||
| 15 | - help | 9 | + users/index |
| 10 | + develop/index |
doc/source/develop.rst deleted
| 1 | -.. _develop: | ||
| 2 | - | ||
| 3 | -Develop | ||
| 4 | -======= | ||
| 5 | - | ||
| 6 | -ctools is an open source projet and you are highly welcome to contribute | ||
| 7 | -to the development. | ||
| 8 | -Contributions can come in any areas: writing C++ code, contributing Python | ||
| 9 | -scripts, writing documentation, testing code, etc. | ||
| 10 | - | ||
| 11 | -The ctools software development is managed by a | ||
| 12 | -`Redmine <https://cta-redmine.irap.omp.eu/projects/ctools/>`_ platform. | ||
| 13 | -Please check out the | ||
| 14 | -`Wiki <https://cta-redmine.irap.omp.eu/projects/ctools/wiki/Contributing_to_ctools>`_ | ||
| 15 | -on that platform to learn how you can contribute to the ctools software | ||
| 16 | -development. | ||
| 17 | - | ||
| 18 | -You may also want to get in the ctools information flow by subscribing to | ||
| 19 | -the ctools@irap.omp.eu mailing list. | ||
| 20 | -To subscribe simply send an e-mail to ctools-subscribe@irap.omp.eu. | ||
| 21 | - | ||
| 22 | -We are organising regular `Coding sprints <https://cta-redmine.irap.omp.eu/projects/ctools/wiki/Coding_sprints>`_ | ||
| 23 | -to allow newcomers to get familiar with the code base and the coding | ||
| 24 | -practices. | ||
| 25 | -You are highly invited to join one of the next coding sprints. | ||
| 26 | - | ||
| 27 | -You can also follow `@ctools_software <https://twitter.com/ctools_software>`_ on | ||
| 28 | -twitter to get informed about new ctools releases. | ||
| 29 | \ No newline at end of file | 0 | \ No newline at end of file |
doc/source/coding/cpp.rst renamed to doc/source/develop/coding/cpp.rst
doc/source/coding/general.rst renamed to doc/source/develop/coding/general.rst
doc/source/coding/index.rst renamed to doc/source/develop/coding/index.rst
doc/source/coding/introduction.rst renamed to doc/source/develop/coding/introduction.rst
doc/source/coding/python.rst renamed to doc/source/develop/coding/python.rst
doc/source/develop/git/git-workflow.png
0 → 100644
141 KB
doc/source/develop/git/gitlab-fork-step1.jpg
0 → 100644
56.3 KB
doc/source/develop/git/gitlab-fork-step2.jpg
0 → 100644
38.7 KB
doc/source/develop/git/gitlab-fork-step3.jpg
0 → 100644
57.2 KB
doc/source/develop/git/gitlab-push.jpg
0 → 100644
199 KB
doc/source/develop/git/index.rst
0 → 100644
| 1 | +.. _git: | ||
| 2 | + | ||
| 3 | +Using Git and GitLab | ||
| 4 | +==================== | ||
| 5 | + | ||
| 6 | +The ctools source code is version controlled using | ||
| 7 | +`Git <https://git-scm.com/>`_ that is managed through a | ||
| 8 | +`GitLab <https://cta-gitlab.irap.omp.eu/ctools/ctools>`_ web interface. | ||
| 9 | + | ||
| 10 | +Every developer will create a user in | ||
| 11 | +`GitLab <https://cta-gitlab.irap.omp.eu/ctools/ctools>`_ | ||
| 12 | +and have an own copy (a so called fork) of the ctools code in his/her | ||
| 13 | +user space. | ||
| 14 | +There is hence no need or possibility to push to the main ctools repository. | ||
| 15 | +Once you forked from the ctools repository, you can create | ||
| 16 | +feature branches and add some new code (or correct a bug), and issue a pull | ||
| 17 | +request so that your change gets included in the trunk. | ||
| 18 | +Note that we do not use | ||
| 19 | +`GitLab's <https://cta-gitlab.irap.omp.eu/ctools/ctools>`_ | ||
| 20 | +pull request feature for the moment, as all issues are tracked on our | ||
| 21 | +`Redmine <https://cta-redmine.irap.omp.eu/projects/ctools>`_ | ||
| 22 | +system, but this may change in the future. | ||
| 23 | +Our `Git <https://git-scm.com/>`_ workflow is identical to the one you | ||
| 24 | +typically use on `GitHub <https://github.com/ctools/ctools>`_. | ||
| 25 | +You may in fact also use `GitHub <https://github.com/ctools/ctools>`_ | ||
| 26 | +for your code developments, as the ctools source code is mirrored to | ||
| 27 | +`GitHub <https://github.com/ctools/ctools>`_ in a read only repository. | ||
| 28 | + | ||
| 29 | + | ||
| 30 | +Before you start | ||
| 31 | +---------------- | ||
| 32 | + | ||
| 33 | +Make sure you configured your `Git <https://git-scm.com/>`_ using your user | ||
| 34 | +name and e-mail address (you only need to do this once on your machine): | ||
| 35 | + | ||
| 36 | +.. code-block:: sh | ||
| 37 | + | ||
| 38 | + $ git config --global user.name "John Doe" | ||
| 39 | + $ git config --global user.email johndoe@example.com | ||
| 40 | + | ||
| 41 | +In addition, you may need to add | ||
| 42 | + | ||
| 43 | +.. code-block:: sh | ||
| 44 | + | ||
| 45 | + $ git config --global http.sslverify "false" | ||
| 46 | + | ||
| 47 | +so that you have no SSL certificate error when you access the | ||
| 48 | +repository. | ||
| 49 | + | ||
| 50 | + | ||
| 51 | +Overview | ||
| 52 | +-------- | ||
| 53 | + | ||
| 54 | +The figure below illustrates the `Git <https://git-scm.com/>`_ workflow | ||
| 55 | +that we use for the ctools development. | ||
| 56 | +Permanent branches are shown as black lines, temporary branches as grey lines. | ||
| 57 | +The yellow area is the ctools repository, the light blue area is your | ||
| 58 | +forked user space. | ||
| 59 | +There are three permanent branches in the ctools repository: | ||
| 60 | + | ||
| 61 | +* the ``master`` branch that holds the latest release | ||
| 62 | +* the ``devel`` branch that is the trunk on which development progresses | ||
| 63 | +* the ``integration`` branch that is used for code integration | ||
| 64 | + | ||
| 65 | +A temporary ``release`` branch is used for hotfixes and generally for code | ||
| 66 | +testing prior to any release. | ||
| 67 | +As developer you will work in your user space and work on temporary | ||
| 68 | +``feature`` branches. | ||
| 69 | + | ||
| 70 | +.. image:: git-workflow.png | ||
| 71 | + :height: 400px | ||
| 72 | + :alt: Git workflow | ||
| 73 | + :align: center | ||
| 74 | + | ||
| 75 | + | ||
| 76 | +Forking the project | ||
| 77 | +------------------- | ||
| 78 | + | ||
| 79 | +As the first step you need to create a fork of the project in your user | ||
| 80 | +space. | ||
| 81 | +Connect to `GitLab <https://cta-gitlab.irap.omp.eu/ctools/ctools>`_ | ||
| 82 | +using your Redmine user name and password (if you have not yet an | ||
| 83 | +account on | ||
| 84 | +`Redmine <https://cta-redmine.irap.omp.eu/projects/ctools>`_ then go | ||
| 85 | +ahead and create one). | ||
| 86 | +Select the `ctools <https://cta-gitlab.irap.omp.eu/ctools/ctools>`_ | ||
| 87 | +project and click on ``Fork`` (see below). | ||
| 88 | + | ||
| 89 | +.. image:: gitlab-fork-step1.jpg | ||
| 90 | + :width: 600px | ||
| 91 | + :alt: Forking the ctools repository | ||
| 92 | + :align: center | ||
| 93 | + | ||
| 94 | +This brings you to a screen that invites you to fork the project into | ||
| 95 | +your user space. | ||
| 96 | +Click on your user (see below). | ||
| 97 | + | ||
| 98 | +.. image:: gitlab-fork-step2.jpg | ||
| 99 | + :width: 600px | ||
| 100 | + :alt: Select user | ||
| 101 | + :align: center | ||
| 102 | + | ||
| 103 | +After a short while a fork will be created that now is under your | ||
| 104 | +ownership (see below). | ||
| 105 | + | ||
| 106 | +.. image:: gitlab-fork-step3.jpg | ||
| 107 | + :width: 600px | ||
| 108 | + :alt: Forked created successfully | ||
| 109 | + :align: center | ||
| 110 | + | ||
| 111 | +Now you can clone this fork using | ||
| 112 | + | ||
| 113 | +.. code-block:: sh | ||
| 114 | + | ||
| 115 | + $ git clone https://cta-gitlab.irap.omp.eu/[user]/ctools.git | ||
| 116 | + | ||
| 117 | +where ``[user]`` is your | ||
| 118 | +`GitLab <https://cta-gitlab.irap.omp.eu/ctools/ctools>`_ | ||
| 119 | +(or `Redmine <https://cta-redmine.irap.omp.eu/projects/ctools>`_) | ||
| 120 | +user name. | ||
| 121 | +To keep in sync with the ctools repository you should add it as | ||
| 122 | +a remote repository using | ||
| 123 | + | ||
| 124 | +.. code-block:: sh | ||
| 125 | + | ||
| 126 | + $ git remote add upstream https://cta-gitlab.irap.omp.eu/ctools/ctools.git | ||
| 127 | + | ||
| 128 | +You can then type | ||
| 129 | + | ||
| 130 | +.. code-block:: sh | ||
| 131 | + | ||
| 132 | + $ git pull upstream devel | ||
| 133 | + | ||
| 134 | +to pull in changes from the ``devel`` branch of ctools in your | ||
| 135 | +repository. | ||
| 136 | + | ||
| 137 | + | ||
| 138 | +Modifying or adding code | ||
| 139 | +------------------------ | ||
| 140 | + | ||
| 141 | +To work on a new feature or to correct a bug you should always create a new | ||
| 142 | +branch. | ||
| 143 | +You do this by typing | ||
| 144 | + | ||
| 145 | +.. code-block:: sh | ||
| 146 | + | ||
| 147 | + $ git checkout devel | ||
| 148 | + $ git pull upstream devel | ||
| 149 | + $ git checkout -b 9101-skymap-smooth-method | ||
| 150 | + | ||
| 151 | +which makes sure that you are on your ``devel`` branch, then pulls in changes | ||
| 152 | +from the ctools repository, and finally creates the | ||
| 153 | +``9101-skymap-smooth-method`` branch. | ||
| 154 | +New branches should always start with an issue number, followed by | ||
| 155 | +a meaningful name that indicates what the branch is good for (use hyphens | ||
| 156 | +to separate words). | ||
| 157 | +You can find the relevant issue number using the | ||
| 158 | +`Redmine issue tracker <https://cta-redmine.irap.omp.eu/projects/ctools/issues>`_. | ||
| 159 | + | ||
| 160 | +Suppose that your goal is to add a ``smooth()`` method to the ``GSkyMap`` | ||
| 161 | +class. | ||
| 162 | +You would then add this method to ``GSkyMap`` by editing the | ||
| 163 | +``GSkyMap.hpp``, ``GSkyMap.cpp`` and ``GSkyMap.i`` files. | ||
| 164 | +You should also add unit tests for the new method, and you would do | ||
| 165 | +this by editing the ``test_GSky.hpp`` and ``test_GSky.cpp`` files. | ||
| 166 | +Once you have verified that the new method works you should commit | ||
| 167 | +your changes. | ||
| 168 | + | ||
| 169 | +First stage all files you want to commit. | ||
| 170 | +To commit for example only the new class method you should type | ||
| 171 | + | ||
| 172 | +.. code-block:: sh | ||
| 173 | + | ||
| 174 | + $ git add src/sky/GSkyMap.hpp | ||
| 175 | + $ git add src/sky/GSkyMap.cpp | ||
| 176 | + $ git add src/sky/GSkyMap.i | ||
| 177 | + | ||
| 178 | +followed by | ||
| 179 | + | ||
| 180 | +.. code-block:: sh | ||
| 181 | + | ||
| 182 | + $ git commit -m "Add GSkyMap::smooth() method (#9101) | ||
| 183 | + > | ||
| 184 | + > The GSkyMap::smooth() allows the smoothing of sky maps using | ||
| 185 | + > various kernels." | ||
| 186 | + | ||
| 187 | +where the message in quotes should be comprised of a single line subject | ||
| 188 | +that describes what was changed, and a message body that describes why | ||
| 189 | +the change was made. Subject line and message body should be separated | ||
| 190 | +by a blank line (see `How to Write a Git Commit Message | ||
| 191 | +<http://chris.beams.io/posts/git-commit/>`_). | ||
| 192 | + | ||
| 193 | +You should then also stage and commit the remaining files. | ||
| 194 | + | ||
| 195 | +To make the changes available to other users, and specifically to allow | ||
| 196 | +their merging into the ctools repository, you need to push you local | ||
| 197 | +changes into your | ||
| 198 | +`GitLab's <https://cta-gitlab.irap.omp.eu/ctools/ctools>`_ | ||
| 199 | +repository. | ||
| 200 | +You do this by typing | ||
| 201 | + | ||
| 202 | +.. code-block:: sh | ||
| 203 | + | ||
| 204 | + $ git push origin 9101-skymap-smooth-method | ||
| 205 | + | ||
| 206 | +Note that the ``origin`` argument specifies that you want to push your | ||
| 207 | +changes into the same repository from which you cloned the code. | ||
| 208 | + | ||
| 209 | +You can now verify on | ||
| 210 | +`GitLab's <https://cta-gitlab.irap.omp.eu/ctools/ctools>`_ | ||
| 211 | +that a new branch exists in your project: | ||
| 212 | + | ||
| 213 | +.. image:: gitlab-push.jpg | ||
| 214 | + :width: 600px | ||
| 215 | + :alt: Pushing a new branch | ||
| 216 | + :align: center | ||
| 217 | + | ||
| 218 | + | ||
| 219 | +Creating a pull request | ||
| 220 | +----------------------- | ||
| 221 | + | ||
| 222 | +Once the code is pushed into your repository you can create a request that | ||
| 223 | +your code should be merged into the ctools repository. | ||
| 224 | +For this you have to open the relevant issue in the | ||
| 225 | +`Redmine issue tracker <https://cta-redmine.irap.omp.eu/projects/ctools/issues>`_ | ||
| 226 | +and put the status of the issue to ``Pull request``: | ||
| 227 | + | ||
| 228 | +.. image:: pull-request.jpg | ||
| 229 | + :width: 600px | ||
| 230 | + :alt: Creating a pull request | ||
| 231 | + :align: center | ||
| 232 | + | ||
| 233 | +You should indiciate in the notes in which repository and on which branch | ||
| 234 | +your change is. | ||
| 235 | +You should also describe the changes or addition you made to the code. | ||
| 236 | +Explain what you have done. Say if there is anything you’d like particular | ||
| 237 | +attention for - like a complicated change or some code you are not happy | ||
| 238 | +with. | ||
| 239 | +If you don’t think your request is ready to be merged, just say so in your | ||
| 240 | +pull request message. | ||
| 241 | +This is still a good way of getting some preliminary code review. |
doc/source/develop/git/pull-request.jpg
0 → 100644
67.9 KB
doc/source/develop/index.rst
0 → 100644
| 1 | +.. _develop: | ||
| 2 | + | ||
| 3 | +Developer documentation | ||
| 4 | +======================= | ||
| 5 | + | ||
| 6 | +ctools is an open source projet and you are highly welcome to contribute | ||
| 7 | +to the development. | ||
| 8 | +Contributions can come in any areas: writing C++ code, contributing Python | ||
| 9 | +scripts, writing documentation, testing code, etc. | ||
| 10 | + | ||
| 11 | +We manage the ctools source code using `GitLab <https://cta-gitlab.irap.omp.eu>`_. | ||
| 12 | +We also have a `Redmine <https://cta-redmine.irap.omp.eu/projects/ctools/>`_ | ||
| 13 | +development platform to track issues. | ||
| 14 | +We use a continuous integration system based on | ||
| 15 | +`Jenkins <https://cta-jenkins.irap.omp.eu>`_ | ||
| 16 | +and we monitor our code quality with | ||
| 17 | +`SonarQube <https://cta-sonar.irap.omp.eu/overview?id=3055>`_. | ||
| 18 | + | ||
| 19 | +You may also want to get in the ctools information flow by subscribing to | ||
| 20 | +the ctools@irap.omp.eu mailing list. | ||
| 21 | +To subscribe simply send an e-mail to ctools-subscribe@irap.omp.eu. | ||
| 22 | + | ||
| 23 | +We are organising regular | ||
| 24 | +`Coding sprints <https://cta-redmine.irap.omp.eu/projects/ctools/wiki/Coding_sprints>`_ | ||
| 25 | +to allow newcomers to get familiar with the code base and the coding | ||
| 26 | +practices. | ||
| 27 | +You are highly invited to join one of the next coding sprints. | ||
| 28 | + | ||
| 29 | +You can also follow `@ctools_software <https://twitter.com/ctools_software>`_ on | ||
| 30 | +twitter to get informed about new ctools releases. | ||
| 31 | + | ||
| 32 | +Below a few links to learn how to contribute to ctools: | ||
| 33 | + | ||
| 34 | +.. toctree:: | ||
| 35 | + :maxdepth: 1 | ||
| 36 | + | ||
| 37 | + git/index | ||
| 38 | + coding/index | ||
| 39 | + | ||
| 40 | +And here some status shields: | ||
| 41 | + | ||
| 42 | +.. image:: https://cta-jenkins.irap.omp.eu/buildStatus/icon?job=ctools-integrate-os | ||
| 43 | + :target: https://cta-jenkins.irap.omp.eu/job/ctools-integrate-os | ||
| 44 | + :alt: Build Status | ||
| 45 | + | ||
| 46 | +.. image:: https://cta-sonar.irap.omp.eu/api/badges/gate?key=ctools | ||
| 47 | + :target: https://cta-sonar.irap.omp.eu/dashboard/index/ctools | ||
| 48 | + :alt: Quality Gate |
doc/source/faq.rst renamed to doc/source/users/faq.rst
doc/source/help.rst renamed to doc/source/users/help.rst
doc/source/users/index.rst
0 → 100644
doc/source/issues.rst renamed to doc/source/users/issues.rst
doc/source/reference_manual/cscaldb.rst renamed to doc/source/users/reference_manual/cscaldb.rst
doc/source/reference_manual/csfindobs.rst renamed to doc/source/users/reference_manual/csfindobs.rst
doc/source/reference_manual/csiactcopy.rst renamed to doc/source/users/reference_manual/csiactcopy.rst
doc/source/reference_manual/csiactdata.rst renamed to doc/source/users/reference_manual/csiactdata.rst
doc/source/reference_manual/csiactobs.rst renamed to doc/source/users/reference_manual/csiactobs.rst
doc/source/reference_manual/cslightcrv.rst renamed to doc/source/users/reference_manual/cslightcrv.rst
doc/source/reference_manual/csmodelinfo.rst renamed to doc/source/users/reference_manual/csmodelinfo.rst
doc/source/reference_manual/csmodelmerge.rst renamed to doc/source/users/reference_manual/csmodelmerge.rst
doc/source/reference_manual/csobs2caldb.rst renamed to doc/source/users/reference_manual/csobs2caldb.rst
doc/source/reference_manual/csobsdef.rst renamed to doc/source/users/reference_manual/csobsdef.rst
doc/source/reference_manual/csobsinfo.rst renamed to doc/source/users/reference_manual/csobsinfo.rst
doc/source/reference_manual/cspull.rst renamed to doc/source/users/reference_manual/cspull.rst
doc/source/reference_manual/csresmap.rst renamed to doc/source/users/reference_manual/csresmap.rst
doc/source/reference_manual/cssens.rst renamed to doc/source/users/reference_manual/cssens.rst
doc/source/reference_manual/csspec.rst renamed to doc/source/users/reference_manual/csspec.rst
doc/source/reference_manual/cstsdist.rst renamed to doc/source/users/reference_manual/cstsdist.rst
doc/source/reference_manual/cstsmapmerge.rst renamed to doc/source/users/reference_manual/cstsmapmerge.rst
doc/source/reference_manual/ctbin.rst renamed to doc/source/users/reference_manual/ctbin.rst
doc/source/reference_manual/ctbkgcube.rst renamed to doc/source/users/reference_manual/ctbkgcube.rst
doc/source/reference_manual/ctbutterfly.rst renamed to doc/source/users/reference_manual/ctbutterfly.rst
doc/source/reference_manual/ctcubemask.rst renamed to doc/source/users/reference_manual/ctcubemask.rst
doc/source/reference_manual/ctedispcube.rst renamed to doc/source/users/reference_manual/ctedispcube.rst
doc/source/reference_manual/cterror.rst renamed to doc/source/users/reference_manual/cterror.rst
doc/source/reference_manual/ctexpcube.rst renamed to doc/source/users/reference_manual/ctexpcube.rst
doc/source/reference_manual/ctlike.rst renamed to doc/source/users/reference_manual/ctlike.rst
doc/source/reference_manual/ctmapcube.rst renamed to doc/source/users/reference_manual/ctmapcube.rst
doc/source/reference_manual/ctmodel.rst renamed to doc/source/users/reference_manual/ctmodel.rst
doc/source/reference_manual/ctobssim.rst renamed to doc/source/users/reference_manual/ctobssim.rst
doc/source/reference_manual/ctpsfcube.rst renamed to doc/source/users/reference_manual/ctpsfcube.rst
doc/source/reference_manual/ctselect.rst renamed to doc/source/users/reference_manual/ctselect.rst
doc/source/reference_manual/ctskymap.rst renamed to doc/source/users/reference_manual/ctskymap.rst
doc/source/reference_manual/cttsmap.rst renamed to doc/source/users/reference_manual/cttsmap.rst
doc/source/reference_manual/ctulimit.rst renamed to doc/source/users/reference_manual/ctulimit.rst
doc/source/reference_manual/index.rst renamed to doc/source/users/reference_manual/index.rst
| @@ -33,8 +33,8 @@ ctools | @@ -33,8 +33,8 @@ ctools | ||
| 33 | ctulimit --- Calculates upper limit <ctulimit> | 33 | ctulimit --- Calculates upper limit <ctulimit> |
| 34 | 34 | ||
| 35 | 35 | ||
| 36 | -General cscripts | ||
| 37 | ----------------- | 36 | +cscripts |
| 37 | +-------- | ||
| 38 | 38 | ||
| 39 | .. toctree:: | 39 | .. toctree:: |
| 40 | :maxdepth: 1 | 40 | :maxdepth: 1 |
| @@ -53,8 +53,8 @@ General cscripts | @@ -53,8 +53,8 @@ General cscripts | ||
| 53 | cstsmapmerge --- Merges slices from ts map computations <cstsmapmerge> | 53 | cstsmapmerge --- Merges slices from ts map computations <cstsmapmerge> |
| 54 | 54 | ||
| 55 | 55 | ||
| 56 | -IACT cscripts | ||
| 57 | -------------- | 56 | +Scripts to manage an IACT database |
| 57 | +---------------------------------- | ||
| 58 | 58 | ||
| 59 | .. toctree:: | 59 | .. toctree:: |
| 60 | :maxdepth: 1 | 60 | :maxdepth: 1 |
doc/source/reference_manual/usage.rst renamed to doc/source/users/reference_manual/usage.rst
doc/source/user_manual/getting.rst renamed to doc/source/users/user_manual/getting.rst
doc/source/user_manual/getting_started/beyond.rst renamed to doc/source/users/user_manual/getting_started/beyond.rst
doc/source/user_manual/getting_started/beyond_combine.rst renamed to doc/source/users/user_manual/getting_started/beyond_combine.rst
doc/source/user_manual/getting_started/beyond_irf.rst renamed to doc/source/users/user_manual/getting_started/beyond_irf.rst
doc/source/user_manual/getting_started/beyond_model.rst renamed to doc/source/users/user_manual/getting_started/beyond_model.rst
doc/source/user_manual/getting_started/beyond_residual.rst renamed to doc/source/users/user_manual/getting_started/beyond_residual.rst
doc/source/user_manual/getting_started/beyond_stacked.rst renamed to doc/source/users/user_manual/getting_started/beyond_stacked.rst
doc/source/user_manual/getting_started/beyond_tsmap.rst renamed to doc/source/users/user_manual/getting_started/beyond_tsmap.rst
doc/source/user_manual/getting_started/binning.rst renamed to doc/source/users/user_manual/getting_started/binning.rst
doc/source/user_manual/getting_started/butterfly.jpg renamed to doc/source/users/user_manual/getting_started/butterfly.jpg
58.9 KB
doc/source/user_manual/getting_started/butterfly.rst renamed to doc/source/users/user_manual/getting_started/butterfly.rst
doc/source/user_manual/getting_started/cntmap-fits.jpg renamed to doc/source/users/user_manual/getting_started/cntmap-fits.jpg
47 KB
doc/source/user_manual/getting_started/cntmap-map.jpg renamed to doc/source/users/user_manual/getting_started/cntmap-map.jpg
22.7 KB
doc/source/user_manual/getting_started/dskeys.jpg renamed to doc/source/users/user_manual/getting_started/dskeys.jpg
99.6 KB
doc/source/user_manual/getting_started/fitting.rst renamed to doc/source/users/user_manual/getting_started/fitting.rst
doc/source/user_manual/getting_started/index.rst renamed to doc/source/users/user_manual/getting_started/index.rst
doc/source/user_manual/getting_started/irf-aeff.png renamed to doc/source/users/user_manual/getting_started/irf-aeff.png
3.24 KB
doc/source/user_manual/getting_started/irf-file.png renamed to doc/source/users/user_manual/getting_started/irf-file.png
7.1 KB
doc/source/user_manual/getting_started/irfs.jpg renamed to doc/source/users/user_manual/getting_started/irfs.jpg
27.6 KB
doc/source/user_manual/getting_started/models.rst renamed to doc/source/users/user_manual/getting_started/models.rst
doc/source/user_manual/getting_started/python.rst renamed to doc/source/users/user_manual/getting_started/python.rst
doc/source/user_manual/getting_started/quickstart.rst renamed to doc/source/users/user_manual/getting_started/quickstart.rst
doc/source/user_manual/getting_started/resmap-bkg.png renamed to doc/source/users/user_manual/getting_started/resmap-bkg.png
261 KB
doc/source/user_manual/getting_started/resmap-crab.png renamed to doc/source/users/user_manual/getting_started/resmap-crab.png
314 KB
doc/source/user_manual/getting_started/response.rst renamed to doc/source/users/user_manual/getting_started/response.rst
doc/source/user_manual/getting_started/simulating.rst renamed to doc/source/users/user_manual/getting_started/simulating.rst
doc/source/user_manual/getting_started/tsmap-crab.png renamed to doc/source/users/user_manual/getting_started/tsmap-crab.png
73.4 KB
doc/source/user_manual/getting_started/unbinned.rst renamed to doc/source/users/user_manual/getting_started/unbinned.rst
doc/source/user_manual/glossary.rst renamed to doc/source/users/user_manual/glossary.rst
doc/source/user_manual/iact_analysis/analysis.rst renamed to doc/source/users/user_manual/iact_analysis/analysis.rst
doc/source/user_manual/iact_analysis/copy.rst renamed to doc/source/users/user_manual/iact_analysis/copy.rst
doc/source/user_manual/iact_analysis/high_level.rst renamed to doc/source/users/user_manual/iact_analysis/high_level.rst
doc/source/user_manual/iact_analysis/index.rst renamed to doc/source/users/user_manual/iact_analysis/index.rst
doc/source/user_manual/iact_analysis/simulation.rst renamed to doc/source/users/user_manual/iact_analysis/simulation.rst
doc/source/user_manual/iact_analysis/tips.rst renamed to doc/source/users/user_manual/iact_analysis/tips.rst
doc/source/user_manual/index.rst renamed to doc/source/users/user_manual/index.rst
doc/source/user_manual/introduction.rst renamed to doc/source/users/user_manual/introduction.rst
doc/source/user_manual/plotting.rst renamed to doc/source/users/user_manual/plotting.rst