Skip to content

Latest commit

 

History

History
51 lines (42 loc) · 1.57 KB

contributing.md

File metadata and controls

51 lines (42 loc) · 1.57 KB

Contributing

Thanks for contributing to this repository. You can open issues to report bugs and open pull requests to contribute.

Build documentation locally

The audit findings are organized and presented using Sphinx-based documentation website. You can build a live development version locally with the following instructions.

  1. Fork and clone the repository:
    git clone https://github.com/<your_username>/bokeh-a11y-audit.git
    
  2. Create a conda environment with the required dependencies and activate it:
    conda env create -f environment-docs.yaml
    conda activate bokeh-a11y-docs
    
  3. Install pre-commit hooks (for linting and formatting):
    pre-commit install
    
  4. Start a live deployment of the documentation website:
    sphinx-autobuild source build/html
    
    Your local website will be available at localhost:8000. This site is re-built when you save local changes.

Notes for authoring markdown

  • Ensure every page follows the heading hierarchy: H1, H2, and so on.

  • Use the following syntax for embedding images:

      ```{figure} relative_path_to_image.png
          :width: 100%
          :alt: Alt-text for the imahe
    
          A scatter plot is shown. A plotting tool button is toggled active on the right. The contrast checking score is shown on the bottom left corner (fails).
      ```
    
  • Use the following syntax for embedding videos:

      ```{video} relative_path_to_video.mp4
      :width: 100%
      :playsinline:
      ```