Skip to content

Enable setting build options on a per-version basis #1324

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

Closed
debadair opened this issue Oct 18, 2019 · 1 comment
Closed

Enable setting build options on a per-version basis #1324

debadair opened this issue Oct 18, 2019 · 1 comment
Labels
enhancement Something we'd like to improve

Comments

@debadair
Copy link
Contributor

We have the ability to set a noindex flag on a book, but it applies to all versions of the book. For sunsetting and removing older versions, it is significantly less disruptive from an SEO standpoint if we can tell search engines to stop indexing a version before we stop publishing it. Otherwise, the pages stick around in the search index for an indeterminate amount of time and lead to 404s from search results.

I think there are other cases where having the ability to configure options on a per-version basis would be useful. I can imagine scenarios where we might want to be able to build older versions with different options or apply different styles.

@debadair debadair added the enhancement Something we'd like to improve label Oct 18, 2019
@debadair
Copy link
Contributor Author

debadair commented Apr 30, 2020

The "live branches" configuration solves this problem for sunsetting old versions: #1421

With Asciidoctor, it is possible to inject metadata at the page level with the description and keywords attributes. In addition, docinfo files can be used to embed custom metadata.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Something we'd like to improve
Projects
None yet
Development

No branches or pull requests

1 participant