-
Notifications
You must be signed in to change notification settings - Fork 2
Update Documentation #354
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Jannis-Mittenzwei
merged 6 commits into
main
from
documentation/#352-Update-Documentation
Feb 21, 2025
Merged
Update Documentation #354
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
93ca680
user guide changed
Jannis-Mittenzwei 1c0e087
update change log
Jannis-Mittenzwei 81e06b0
Merge branch 'main' into documentation/#352-Update-Documentation
Jannis-Mittenzwei bb51eab
resolved conversation
Jannis-Mittenzwei b6becdb
resolved conversation
Jannis-Mittenzwei b08fa36
resolved conversation
Jannis-Mittenzwei File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| Features | ||
| ======== | ||
|
|
||
| Uniform Project Layout | ||
| ---------------------- | ||
|
|
||
| PTB expects a default project layout following "convention over configuration" when possible and reasonable. | ||
| See the cookie-cutter project template for details, which is part of the python-toolbox workspace and can be found in directory `project-template`. | ||
| You can also generate a project from the template to explore the default structure. | ||
| For more details on this, please check out section `"getting started" <getting_started.html>`_ section. | ||
|
|
||
| Nox | ||
| --- | ||
|
|
||
| The most central tool when interacting with the toolbox is :code:`nox`, which is the task runner used across all of Exasol's Python-based projects. | ||
| The toolbox itself provides various standard tasks and a plugin mechanism to extend these tasks if needed. For more information regarding nox, please visit the `nox homepage <http://nox.thea.codes/en/stable/>`_. | ||
|
|
||
| Central files in regards to nox and the toolbox are: | ||
|
|
||
| - noxfile.py: Standard nox configuration/setup file | ||
| - noxconfig.py: Exasol-specific file containing additional information needed by the standard tasks of the toolbox | ||
|
|
||
| Important Nox Commands | ||
| ^^^^^^^^^^^^^^^^^^^^^^ | ||
|
|
||
| * :code:`nox -l` shows a list of all available nox tasks | ||
| * :code:`nox -s <tasks>` run the specified task(s) | ||
| * :code:`nox -s test:typing` runs the type checker on the project | ||
| * :code:`nox -s docs:clean docs:build docs:open` | ||
| #. first task removes the documentation folder | ||
| #. second one builds the documentation | ||
| #. last one opens the documentation in the web browser | ||
| * :code:`nox` without :code:`-s` runs the default task which is | ||
| * :code:`nox -s project:fix` this command runs automated fixes on the code | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| How to Release? | ||
| =============== | ||
|
|
||
| #. Use :code:`nox -s release:prepare` to prepare the project for a new release. | ||
| #. Merge your **Pull Request** to the **default branch** | ||
| #. Use :code:`git remote show origin | sed -n '/HEAD branch/s/.*: //p'` to output the **default branch** | ||
| #. Use :code:`git checkout <default branch>` Switch to the **default branch** | ||
| #. Use :code:`git pull` to update branch | ||
| #. Use :code:`TAG=<name>` to set a variable named **"TAG"** | ||
| #. Use :code:`git tag "${TAG}"` to create a new tag in your repo | ||
| #. Use :code:`git push origin "${TAG}"` to push it to remote | ||
| #. GitHub workflow **CD** reacts on this tag and starts the release process |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,8 +6,9 @@ | |
| .. toctree:: | ||
| :maxdepth: 2 | ||
|
|
||
| overview | ||
| getting_started | ||
| features | ||
| workflows | ||
| customization | ||
| migrating | ||
| how_to_release | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.