JetBrains / lets-plot-docs

MIT License
12 stars 5 forks source link

Lets-Plot Documentation Site

official JetBrains project License MIT

This repository contains sources for building and publishing the Lets-Plot project documentation site using Sphinx and GitHub Pages.

Build and publish documentation site

All commands should be run from the repository root.

  1. Create conda environment lets-plot-docs from file environment.yml:

    conda env create --file .binder/environment.yml

    If you already have this environment or environment.yml has been changed, you need to update the environment. In that case, run:

    conda env update --name lets-plot-docs --file .binder/environment.yml --prune
  2. Activate this environment:

    conda activate lets-plot-docs
  3. Build documentation (HTML):

    sphinx-build -b html source docs
  4. Check docs/index.html in your browser.

  5. Commit and push new changes.

Testing

To run tests, use the following command:

pytest test

You can hide warnings with -W flag:

pytest test -W ignore

For more details read the docs.

Directory structure

Code of Conduct

This project and the corresponding community are governed by the JetBrains Open Source and Community Code of Conduct. Please make sure you read it.

License

Code and documentation released under the MIT license. Copyright © 2019-2024, JetBrains s.r.o.