Skip to content

Commit 7bbc5f3

Browse files
committed
updating documentation and including instructions in release
1 parent 578c0f8 commit 7bbc5f3

File tree

2 files changed

+5
-15
lines changed

2 files changed

+5
-15
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ jobs:
2323
tag_name: ${{ github.ref }}
2424
release_name: Release ${{ github.ref }}
2525
body: |
26-
Changes in this Release
27-
- First Change
28-
- Second Change
26+
To download execute the following statement:
27+
pip install git+https://github.com/TrisNol/python-sample-package@${{ github.ref }}
2928
draft: false
3029
prerelease: false

README.MD

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,9 @@
11
[![GitHub license](https://img.shields.io/github/license/TrisNol/python-sample-package.svg)](https://github.com/TrisNol/python-sample-package/blob/master/LICENSE)
22
[![Github all releases](https://img.shields.io/github/downloads/TrisNol/python-sample-package/total.svg)](https://github.com/users/TrisNol/packages/container/package/python-sample-package)
33
[![GitHub forks](https://img.shields.io/github/forks/TrisNol/python-sample-package.svg?style=social&label=Fork&maxAge=2592000)](https://github.com/TrisNol/python-sample-package)
4-
# Python saple release
4+
# Python sample package
55
This repo contains a skeleton for Python packages containing some basic DevOps´ components like CI/CD pipelines.
66

7-
## Linting
8-
The code of this repo will be linted with [PyLint](https://pylint.org/) automatically on each push and pull-request to ensure that the files are correctly formatted in order to improve readability.
7+
You can download the module by executing the following command (replace `<tag>` with the version you would like to download):
8+
`pip install git+https://github.com/TrisNol/python-sample-package<tag>`
99

10-
## Tests
11-
You can add your tests in the test/ directory. By providing the prefix test_ the files will be recognized and executed by PyTest.
12-
13-
## Documentation
14-
The documentation is created with the help of [Sphinx](https://www.sphinx-doc.org/en/master/), which generates a html-based docu that is exposed via GitHub pages. In order to see the documentation, some configuration in GitHub needs to be done. Head to the repo´s settings and enable GitHub pages. Set the source to branch `gh-pages`. The documentation should now be hosted at `http[s]:<username>.github.io/<repo-name>`
15-
16-
In order to adapt the config, change the specifics in ```./docs/conf.py```.
17-
To manually build the documentation execute the following command - and install sphinx if you haven´t already - ```sphinx-build ./docs ./docs/_build```.
18-
However, the documentation will be built automatically on each push and added to the repo by a GitHub Action - so you don´t have to generate it yourself each time.

0 commit comments

Comments
 (0)