Skip to content

Conversation

@StaticRocket
Copy link
Member

Refactor this to reduce some redundant logic, simplify and describe variable blocks, and use the sphinx-build make mode.

Newer versions of sphinx-quickstart have started rolling out make mode. This provides a useful help note and allows users to try multiple builders very easily. I believe we should redirect most targets through this new mode.

Unfortunately this mode appends the builder name to the output path. Given that our current software-dl.ti.com deployment scheme relies on a specific output path, I've added a "ti" target to provide the older behavior and made it the default.

The normal "html" builder will use the standard sphinx-build output scheme with only one directory corresponding to the platform and os values. The version will be assumed to be unnecessary in this mode.

Refactor this to reduce some redundant logic, simplify and describe
variable blocks, and use the sphinx-build make mode.

Newer versions of sphinx-quickstart have started rolling out make mode.
This provides a useful help note and allows users to try multiple
builders very easily. I believe we should redirect most targets through
this new mode.

Unfortunately this mode appends the builder name to the output path.
Given that our current software-dl.ti.com deployment scheme relies on a
specific output path, I've added a "ti" target to provide the older
behavior and made it the default.

The normal "html" builder will use the standard sphinx-build output
scheme with only one directory corresponding to the platform and os
values. The version will be assumed to be unnecessary in this mode.

Signed-off-by: Randolph Sapp <rs@ti.com>
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

Successfully merging this pull request may close these issues.

1 participant