-
Notifications
You must be signed in to change notification settings - Fork 6
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
Enable Version Switching #1
Comments
While branches for |
Need to add a macro to the header of versioned sections/pages that does something along the lines of <script>
function change_version() {
... // modify url by replacing version number
}
</script>
<select name="versions" id="versions" onChange="change_version()">
{% for version in versions %}
<option value={{ version }}>{{ version.title }}</option>
{% endfor %}
</select>
|
If we really need different python versions, I would use tabs on the code visualizer. |
No idea if that's possible, but it does seem like a nice way of handling it, particularly given it's a different kind of version than the others (version of underlying technology, rather than version of the software/library itself). |
Bringing together bluerobotics/ardusub-gitbook#227 and bluerobotics/ardusub-gitbook#229, each software will be documented in its own set of branches (by semi-major version, e.g.
ardusub-4.0
), with tags used for minor versions (ardusub-4.0.3
), and submodules used within themain
branch site content to link to each version. A suitable switching mechanism will need to be made, which should be helped by Zola's ability to apply things to all pages in a given section.The text was updated successfully, but these errors were encountered: