COMPAS 2 Theme for Sphinx
Project description
Sphinx Theme for COMPAS 2
This is a Sphinx theme for COMPAS 2 based on pydata-sphinx-theme
and sphinx-book-theme
.
Getting started with this project
Setup code editor
- Open project folder in VS Code
- Select python environment for the project
- First time using VS Code and on Windows? Make sure select the correct terminal profile:
Ctrl+Shift+P
,Terminal: Select Default Profile
and selectCommand Prompt
.
All terminal commands in the following sections can be run from the VS Code integrated terminal.
First steps with git
- Go to the
Source control
tab - Make an initial commit with all newly created files
First steps with code
-
Install the newly created project
pip install -e .
-
Install it on Rhino
python -m compas_rhino.install
Code conventions
Code convention follows PEP8 style guidelines and line length of 120 characters.
-
Check adherence to style guidelines
invoke lint
-
Format code automatically
invoke format
Documentation
Documentation is generated automatically out of docstrings and RST files in this repository
-
Generate the docs
invoke docs
-
Check links in docs are valid
invoke linkcheck
-
Open docs in your browser (file explorer ->
dist/docs/index.html
)
Testing
Tests are written using the pytest framework
-
Run all tests from terminal
invoke test
-
Or run them from VS Code from the
Testing
tab
Publish release
Releases follow the semver versioning convention.
-
Create a new release
invoke release major
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for sphinx-compas2-theme-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2f058d91717b24d1ff65fc28b4ff34edb1bede1f6796db6d56102ddb215ff16 |
|
MD5 | 600d51e8df7530f58d59e8db3c17d8e4 |
|
BLAKE2b-256 | 132b6df9471401d3931e2b428b21361487b851638961f9ace156c8e261adc908 |
Hashes for sphinx_compas2_theme-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 643ebca914cdbe8c34c019088b4f79c3db88e0c8ae7ae0a3423dccb7a8e8baa2 |
|
MD5 | 83ceb47ce627d5a568a7bcf69b04b64f |
|
BLAKE2b-256 | 330f3eaa2dc8d5977290d8ec5febb50df042a0c2a35438f612df5e262b430402 |