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.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7154d191b4a7a4974f0db0fd6f2a38e41bc689ca6582d5479543654433fb52c8 |
|
MD5 | b6ce336d25312330820f9e98d7a3757b |
|
BLAKE2b-256 | 8a226db47acceb1b1b557d636e8ff4526c8af78283f19820a9e279a89badacb9 |
Hashes for sphinx_compas2_theme-0.1.8-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48040d8725763e0c13a6bc6d7aa87a67fb325916bbbee43ed3fff23f9441e08d |
|
MD5 | f9a6f2e24cf60489f0ed9fee4c2f9de2 |
|
BLAKE2b-256 | dea964089986275e0463eabc8f66b9e9ac08b39b1f73738bdcebf02d61d75aa3 |