You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| **CI/CD with Github actions** (Optional) | Adds Github actions that run the formatting checks and unittests for pull requests and when merged to `main`. |
| **Release to Artifactory** (Optional) | Release to `Artifactory <https://jfrog.com/artifactory>`_ manually, or by creating a new release on Github. |
| **CI/CD with Github actions** (Optional) | Adds Github actions that run the formatting checks and unittests for pull requests and when merged to `main`. |
| **Release to Artifactory** (Optional) | Release to `Artifactory <https://jfrog.com/artifactory>`_ manually, or by creating a new release on Github. |
| **Documentation with Sphinx** (Optional) | Automatically build documentation of your project and it's code with `Sphinx <https://www.sphinx-doc.org/>`_. |
Copy file name to clipboardexpand all lines: docs/index.rst
+7
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,13 @@ cookiecutter-poetry
32
32
This is the documentation of `cookiecutter-poetry <https://github.com/fpgmaas/cookiecutter-poetry>`_, a `cookiecutter <https://github.com/cookiecutter/cookiecutter>`_ repository to
33
33
generate the file structure for a Python project that uses `Poetry <https://python-poetry.org/>`_ for its dependency management.
34
34
35
+
.. container:: index-visit-on-github
36
+
37
+
|pic1| `Visit on Github <https://github.com/fpgmaas/cookiecutter-poetry>`_
Copy file name to clipboardexpand all lines: docs/prompt_arguments.rst
+10-5
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ a prompt will start which enables you to configure your repository. The prompt v
14
14
Your full name.
15
15
16
16
**email**
17
-
Your email address
17
+
Your email address.
18
18
19
19
**github_author_handle**
20
20
Your github handle, i.e. ``<handle>`` in ``https://github.com/<handle>``
@@ -23,7 +23,8 @@ a prompt will start which enables you to configure your repository. The prompt v
23
23
Your project name. Should be equal to the name of your repository and it should only contain alphanumeric characters and ``-``'s.
24
24
25
25
**project_slug**
26
-
The project slug, will default to the ``project_name`` with all ``-``'s replaced with ``_``. This will be how you import your code later, e.g.
26
+
The project slug, will default to the ``project_name`` with all ``-``'s replaced with ``_``.
27
+
This will be how you import your code later, e.g.
27
28
28
29
.. code-block:: python
29
30
@@ -42,10 +43,14 @@ a prompt will start which enables you to configure your repository. The prompt v
42
43
``"y"`` or ``"n"``. Adds a ``.github`` directory with various actions and workflows to setup the environment and run code formatting checks and unittests.
43
44
44
45
**publish_to**
45
-
``"pypi"``, ``"artifactory"``, or ``"none"``. Adds functionality to the ``Makefile`` and Github workflows to make
46
-
publishing your code as simple as creating a new release release on Github.
46
+
``"pypi"``, ``"artifactory"``, or ``"none"``. Adds functionality to the ``Makefile`` and Github workflows to make publishing
47
+
your code as simple as creating a new release release on Github.
47
48
For more info, see :doc:`Releasing to Pypi or Artifactory <./releasing>`.
48
49
50
+
**sphinx_docs**
51
+
``"y"`` or ``"n"``. Adds `sphinx <https://www.sphinx-doc.org/en/master/>`_` documentation to your project. This includes automatically parsing your
52
+
docstrings and adding them to the documentation. Documentation will be deployed to the ``gh-pages`` branch.
53
+
49
54
**open_source_license**
50
55
Choose a `license <https://choosealicense.com/>`_. Options: ``["1. MIT License", "2. BSD license", "3. ISC license",
51
-
"4. Apache Software License 2.0", "5. GNU General Public License v3", "6. Not open source"]``
56
+
"4. Apache Software License 2.0", "5. GNU General Public License v3", "6. Not open source"]``
- Create an API Token on `Pypi <https://pypi.org/>`_
41
+
- Add the API Token to your projects secrets with the name ``PYPI_TOKEN`` by visiting `this page <https://github.com/{{cookiecutter.github_author_handle}}/{{cookiecutter.project_name}}/settings/secrets/actions/new>`_.
42
+
- Create a `new release <https://github.com/{{cookiecutter.github_author_handle}}/{{cookiecutter.project_name}}/releases/new>`_ on Github. Create a new tag in the form ``*.*.*``.
43
+
44
+
For more details, see `here <https://fpgmaas.github.io/cookiecutter-poetry/releasing.html>`_.
- Add the `ARTIFACTORY_URL`, `ARTIFACTORY_USERNAME`, and `ARTIFACTORY_PASSWORD` to your projects secrets by visiting `this page <https://github.com/{{cookiecutter.github_author_handle}}/{{cookiecutter.project_name}}/settings/secrets/actions/new>`_.
47
+
- Create a `new release <https://github.com/{{cookiecutter.github_author_handle}}/{{cookiecutter.project_name}}/releases/new>`_ on Github. Create a new tag in the form ``*.*.*``.
48
+
49
+
For more details, see `here <https://fpgmaas.github.io/cookiecutter-poetry/releasing.html>`_.
50
+
{%- endif %}
51
+
52
+
---------
53
+
54
+
Repository initiated with `fpgmaas/cookiecutter-poetry <https://github.com/fpgmaas/cookiecutter-poetry>`_
0 commit comments