Skip to content

Commit 93ca680

Browse files
user guide changed
1 parent 818dc22 commit 93ca680

File tree

3 files changed

+29
-4
lines changed

3 files changed

+29
-4
lines changed
Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
Overview
1+
Features
22
========
33

4-
Project Layout
5-
--------------
4+
Uniformed Project Layout
5+
------------------------
66

77
Overall, the toolbox generally expects a certain project layout because it tries to follow the credo "convention over configuration" when possible and reasonable. This expected structure can be better understood by looking at the cookie-cutter project template, which is part of the python-toolbox workspace and can be found in `project-template`. One can also generate a project from the template to explore the default structure. For more details on this, please check out the getting started section.
88

@@ -16,3 +16,16 @@ Central files in regards to nox and the toolbox are:
1616

1717
- noxfile.py: Standard nox configuration/setup file
1818
- noxconfig.py: Exasol-specific file containing additional information needed by the standard tasks of the toolbox
19+
20+
Important Nox Commands
21+
^^^^^^^^^^^^^^^^^^^^^^
22+
23+
* :code:`nox -l` this command shows a list of all available nox tasks
24+
* :code:`nox -s <tasks>` to run the specified task(s)
25+
* :code:`nox -s test:typing` which runs the type checker on the project
26+
* :code:`nox -s docs:clean docs:build docs:open`
27+
#. first task removes the documentation folder
28+
#. second one builds the documentation
29+
#. last one opens the documentation in the web browser
30+
* :code:`nox` without :code:`-s` runs the default task which is
31+
* :code:`nox -s fix` this command runs automated fixes on the code

doc/user_guide/how_to_release.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
How to Release
2+
==============
3+
4+
#. Use the command :code:`nox -s release:prepare` to prepare the project for a new release.
5+
#. Merge your **Pull Request** to main
6+
#. Switch the **current branch** to the **default branch**
7+
#. Ensure default branch to be up to date: :code:`git pull`
8+
#. Set your **tag name**: :code:`TAG=...`
9+
#. Use :code:`git tag "${TAG}"` to create a new tag in your repo
10+
#. Use :code:`git push origin "${TAG}"` to push it in your remote repo
11+
#. GitHub workflow reacts on this tag and starts the release process

doc/user_guide/user_guide.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@
66
.. toctree::
77
:maxdepth: 2
88

9-
overview
109
getting_started
10+
features
1111
workflows
1212
customization
1313
migrating
14+
how_to_release

0 commit comments

Comments
 (0)