Skip to content

Commit c2c38ad

Browse files
authored
Refactor Documentation
* Replace README.rst with README.md * Add sphinx-plugins and new sphinx-theme
1 parent db5bafc commit c2c38ad

File tree

23 files changed

+199
-115
lines changed

23 files changed

+199
-115
lines changed

README.md

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
<h1 align="center">Exasol Toolbox</h1>
2+
3+
<p align="center">
4+
Your one-stop solution for managing all standard tasks and core workflows of your Python project.
5+
</p>
6+
7+
<p align="center">
8+
9+
<a href="https://github.com/exasol/python-toolbox/actions/workflows/ci.yml">
10+
<img src="https://github.com/exasol/python-toolbox/actions/workflows/ci.yml/badge.svg?branch=main" alt="Checks Main">
11+
</a>
12+
<a href="https://opensource.org/licenses/MIT">
13+
<img src="https://img.shields.io/pypi/l/exasol-toolbox" alt="License">
14+
</a>
15+
<a href="https://pypi.org/project/exasol-toolbox/">
16+
<img src="https://img.shields.io/pypi/dm/exasol-toolbox" alt="Downloads">
17+
</a>
18+
<a href="https://pypi.org/project/exasol-toolbox/">
19+
<img src="https://img.shields.io/pypi/pyversions/exasol-toolbox" alt="Supported Python Versions">
20+
</a>
21+
<a href="https://pypi.org/project/exasol-toolbox/">
22+
<img src="https://img.shields.io/pypi/v/exasol-toolbox" alt="PyPi Package">
23+
</a>
24+
</p>
25+
26+
## 🚀 Features
27+
28+
- Centrally managed standard tasks
29+
- code formatting & upgrading
30+
- linting
31+
- type-checking
32+
- unit-tests
33+
- integration-tests
34+
- coverage
35+
- documentation
36+
37+
- Centrally manged core workflows
38+
- workspace/project verification
39+
- build and publish releases
40+
- build and publish documentation
41+
42+
- Configurable & Extensible
43+
- Project configuration
44+
- Event hooks
45+
46+
## 🔌️ Prerequisites
47+
48+
- [Python](https://www.python.org/) >= 3.8
49+
50+
## 💾 Installation
51+
52+
```shell
53+
pip install exasol-toolbox
54+
```
55+
56+
## 📚 Documentation
57+
58+
For futher details, checkout the latest [documentation](https://exasol.github.io/python-toolbox/).
59+

README.rst

Lines changed: 0 additions & 73 deletions
This file was deleted.

doc/_templates/partials/webfonts.html

Whitespace-only changes.

doc/api.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
🧰 API Reference
2-
================
1+
.. _api:
2+
3+
:octicon:`cpu` API Reference
4+
=============================
35

46
.. figure:: _static/nothing-to-see-here.png
57
:alt: nothing to see here
68
:target: https://imgflip.com/i/2a7gqa
79

8-
source: `imgflip.com <https://imgflip.com/>`_
10+
source: `imgflip.com <https://imgflip.com/>`_

doc/changes/changelog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 📝 Changes
1+
# Changelog
22

33
* [unreleased](unreleased.md)
44
* [0.9.0](changes_0.9.0.md)

doc/changes/unreleased.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@
22

33
🚨 Breaking Changes
44
Static callbacks/hooks in the Config object have been removed and replaced with Plugin hooks.
5+
56
For additional information, refer to [customization](../user_guide/customization.rst) in the user guide.
7+
## 🐞 Fixed
8+
* Updated templates for GH workflows to add content of changes file for release letter
69

710
## ✨ Added
811
* Implemented plugin support for `pre-` and `post-` integration-tests hooks.
912

1013
## 📚 Documentation
1114
* Added documentation on nox task plugins for users and developers.
12-
13-
## 🐞 Fixed
14-
* Updated templates for GH workflows to add content of changes file for release letter
15+
* Updated theme and structure of the documentation.

doc/conf.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,14 @@
3333
"sphinx.ext.napoleon",
3434
"sphinx.ext.intersphinx",
3535
"sphinx.ext.autosummary",
36-
"sphinx.ext.autosectionlabel",
3736
"sphinx_copybutton",
3837
"myst_parser",
38+
"sphinx_design",
3939
]
4040

4141
intersphinx_mapping = {"python": ("https://docs.python.org/3", None)}
4242

4343
# Make sure the target is unique
44-
autosectionlabel_maxdepth = 1
45-
autosectionlabel_prefix_document = True
4644
source_suffix = {
4745
".rst": "restructuredtext",
4846
".txt": "markdown",
@@ -64,14 +62,16 @@
6462
# The theme to use for HTML and HTML Help pages. See the documentation for
6563
# a list of builtin themes.
6664
#
67-
html_theme = "furo"
65+
html_theme = "shibuya"
6866

6967
# Add any paths that contain custom static files (such as style sheets) here,
7068
# relative to this directory. They are copied after the builtin static files,
7169
# so a file named "default.css" will overwrite the builtin "default.css".
7270
html_static_path = ["_static"]
7371
html_title = "Toolbox"
7472
html_theme_options = {
75-
"light_logo": "light-exasol-logo.svg",
76-
"dark_logo": "dark-exasol-logo.svg",
73+
"light_logo": "_static/light-exasol-logo.svg",
74+
"dark_logo": "_static/dark-exasol-logo.svg",
75+
"github_url": "https://github.com/exasol/python-toolbox",
76+
"accent_color": "grass",
7777
}

doc/design.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
📗 Design Document
2-
==================
1+
.. _design_document:
2+
3+
Design Document
4+
===============
35

46
Motivation
57
----------

doc/developer_guide/developer_guide.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
🛠 Developer Guide
2-
===================
1+
.. _developer_guide:
2+
3+
:octicon:`tools` Developer Guide
4+
================================
35

46

57
.. toctree::

doc/developer_guide/development.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
🚧 Development - Contributing
2-
=============================
1+
Development - Contributing
2+
==========================
33

44
Creating a Release
55
++++++++++++++++++

0 commit comments

Comments
 (0)