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.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d96fac5c36bb80f62fa10f73f612726782d89441a17de6862c66b92be2a7a7b |
|
MD5 | c66824b4e499a4d84bd82e18fc6d456b |
|
BLAKE2b-256 | 1aa91991b7c37b5963cefbd1c8dac41f351bef80300c3c3269ac849148b3b271 |
Hashes for sphinx_compas2_theme-0.1.5-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec9c1697dbbdff55bb38fd21ec5acf19f2386e261cc8b58e89a020ac8580010a |
|
MD5 | 786d7c05d7447be4cf9accd05c9d8ff9 |
|
BLAKE2b-256 | 3f94fad0ed4bf9999849360d3e84281c9f31aa464ad1b6bbafe113a2abc8bc98 |