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
Custom build params #1573
Comments
The Language setting on the project will pass the proper language code to On Wed, Aug 19, 2015 at 6:07 AM, Bruno Škvorc notifications@github.com
Eric Holscher |
Yes, but unless the build process runs from the root folder and targets the locale/xx folder for the extended conf file, it won't work (see build error) because it's looking for sources in the folder where I told RTD the conf file was under Advanced Settings. If there were a way to have it run the builder from |
Why don't you just have one config file that has the locale dir set to On Wed, Aug 19, 2015 at 9:19 AM, Bruno Škvorc notifications@github.com
Eric Holscher |
Well... now I feel stupid. Thanks, never thought of that. I've now successfully built both on RTD, but redirecting to the Croatian version from the English one does not work: http://rtdsphinx-php.readthedocs.org/en/latest/ I have set the Croatian version (rtdsphinx-php-hr) as the translation of the main one, but when I click on "hr" to switch the language, the browser is redirected to a |
the /hr/ work and be an alias for that project. I looked into it, and the On Wed, Aug 19, 2015 at 9:53 AM, Bruno Škvorc notifications@github.com
Eric Holscher |
The idea is that you can define "translations" and they will live at the On Wed, Aug 19, 2015 at 10:17 AM, Eric Holscher eric@ericholscher.com
Eric Holscher |
In the future we hope not to require multiple RTD Projects to provide On Wed, Aug 19, 2015 at 10:18 AM, Eric Holscher eric@ericholscher.com
Eric Holscher |
This is fantastic, thank you! Full post on SitePoint coming soon, with caveats, tips and tricks so others don't trip up like I did here. Thanks again! |
Thanks again for the awesome stuff you're writing up as well. I think it On Wed, Aug 19, 2015 at 10:24 AM, Bruno Škvorc notifications@github.com
Eric Holscher |
That's really interesting. |
Yea, that's exactly what autoapi is doing -- but it will be fully supported On Wed, Aug 19, 2015 at 10:53 AM, Bruno Škvorc notifications@github.com
Eric Holscher |
I played around with Apigen's internals, PhpDocumentor's token parsers and Sage, but didn't get a very smooth workflow out of any of them so far (only been toying with this over the past few days). |
Suggest adding possibility of providing custom build params and flags.
Related to #1554, more specifically this build error.
Due to alternative conf files in locale subfolders, the build fails, looking for stuff in the folders where the
conf.py
was found.Locally, I successfully build with:
where xx is the locale I'm building for. I would like the ability to provide these arguments to RTD's builder as well, so that I may replicate my local build process exactly.
Or is there another way to accomplish this?
The text was updated successfully, but these errors were encountered: