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

URL ?guideline=5.x should render any old config? #27

Open
janbrasna opened this issue Jan 6, 2024 · 1 comment
Open

URL ?guideline=5.x should render any old config? #27

janbrasna opened this issue Jan 6, 2024 · 1 comment

Comments

@janbrasna
Copy link
Owner

?guideline version in URL produced by the tool for all links, stays in the generated configs.

yet invoking it seems to always render latest, i. e. permalinks to the generated configs won't persist the content and there's no way to generate configs for older spec revisions

@janbrasna
Copy link
Owner Author

easy:

import sstls from '../static/guidelines/latest.json';

so this would need some work to support loading any version, if given spec version json exists… with a compatible sstls object that can be parsed by the current version of config tool… (so maybe limit to v5.x or since the current permalink format introduction?)

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

1 participant