Skip to main content

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

  1. Open project folder in VS Code
  2. Select python environment for the project
  3. First time using VS Code and on Windows? Make sure select the correct terminal profile: Ctrl+Shift+P, Terminal: Select Default Profile and select Command Prompt.

All terminal commands in the following sections can be run from the VS Code integrated terminal.

First steps with git

  1. Go to the Source control tab
  2. Make an initial commit with all newly created files

First steps with code

  1. Install the newly created project

     pip install -e .
    
  2. Install it on Rhino

     python -m compas_rhino.install
    

Code conventions

Code convention follows PEP8 style guidelines and line length of 120 characters.

  1. Check adherence to style guidelines

     invoke lint
    
  2. Format code automatically

     invoke format
    

Documentation

Documentation is generated automatically out of docstrings and RST files in this repository

  1. Generate the docs

     invoke docs
    
  2. Check links in docs are valid

     invoke linkcheck
    
  3. Open docs in your browser (file explorer -> dist/docs/index.html)

Testing

Tests are written using the pytest framework

  1. Run all tests from terminal

     invoke test
    
  2. Or run them from VS Code from the Testing tab

Publish release

Releases follow the semver versioning convention.

  1. Create a new release

     invoke release major
    

Metadata

Release files for sphinx-compas2-theme 0.1.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sphinx-compas2-theme 0.1.10
File Size Uploaded
sphinx-compas2-theme-0.1.10.tar.gz 74.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sphinx-compas2-theme 0.1.10
File Interpreter ABI Platform
sphinx_compas2_theme-0.1.10-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 152.3 kB

Release files / sphinx-compas2-theme-0.1.10.tar.gz

Download URL sphinx-compas2-theme-0.1.10.tar.gz
Size 74.9 kB
Tags Source
SHA-256 checksum
How to use checksums
e9ae7a307721001743c98538957b78e614772d72007134e296bf6c85fb8ed48e
BLAKE2b-256 checksum
How to use checksums
0bea128acac73f4f5ae4df0611b59a9de39a9630f51f9e963004a55688e7d0e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.13

Release files / sphinx_compas2_theme-0.1.10-py2.py3-none-any.whl

Download URL sphinx_compas2_theme-0.1.10-py2.py3-none-any.whl
Size 77.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
74ee20fe0a9152b058a0b005f480ec91b127e31f8db41d56064dbe7267efb2fe
BLAKE2b-256 checksum
How to use checksums
7f96ac839ddbb7fdb347ffc7cc22735d7a5791aea087a51abbe2aa84f7bd4273
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.13

Release history Release notifications | RSS feed

This release

0.1.10 This release

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page