Skip to content

Make a script that parses SConstruct to get the config options #26

@bryanwweber

Description

@bryanwweber

The config-options.rst file contains the text of the configuration options from the main Cantera SConstruct file. To prevent it getting out of date, we should make a script that parses the SConstruct and writes the config-options.rst file.

The ast module will be useful since SConstruct is just a Python file. See also https://greentreesnakes.readthedocs.io/en/latest/

In the end, this should be turned into a plugin that runs on every bulid of the website.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions