Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Override settings in configuration ( conf.py ) #12

Open
mcrmcr opened this issue Dec 10, 2012 · 1 comment
Open

Override settings in configuration ( conf.py ) #12

mcrmcr opened this issue Dec 10, 2012 · 1 comment

Comments

@mcrmcr
Copy link

mcrmcr commented Dec 10, 2012

First, thanks for the plugin.

I am trying to integrate this plugin in my maven build and want to use the maven property {project.version} for the sphinx output. (and maybe some others).

The version used by sphinx is in conf.py, properties "release" and "version". With

shpinx-build -Dversion=1.0 -Drelease=1.0 ......

anything works perfect.

At the moment, the -D option is not supported by this maven plugin. Looking at the source code, I think this is not a big challenge.

If you like I could make a pull request.

Thanks
Christian

@electrum
Copy link
Contributor

electrum commented Aug 5, 2015

I modified our conf.py to read the version from the POM: https://github.com/facebook/presto/blob/master/presto-docs/src/main/sphinx/conf.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants