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.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fbdfbd41a8ddb7ddb331e295d1901bfa2fb92ecefca7593c51a2cc80abb52aee |
|
MD5 | 6a3081a51963bafa857b79a35f6909bf |
|
BLAKE2b-256 | 226923597f52232c39b1d854ede311f66808630f5881de7c3193cc7b192fb9f6 |
Hashes for sphinx_compas2_theme-0.1.7-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6e80794002eed3e6639ae65baaa86b0e033dfdbeacb35e684e7876d0e46793a |
|
MD5 | 956b8f3b95e3ecf7e1ddcb63ff1128a7 |
|
BLAKE2b-256 | 3085653451648700c5d1c3ea4786cac02dfc6acebfbb36bd490b96a7f64208d8 |