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

Link index.md to current version of the spec #448

Open
wants to merge 2 commits into
base: gh-pages
Choose a base branch
from

Conversation

yochem
Copy link

@yochem yochem commented Jul 16, 2024

Use the current_version field in _config.yml to automatically link the index.md (the 'homepage') to the current version of the spec.

This prevents possible sync errors between spec/v.md and index.md.

Current situation:

$ diff --report-identical-files index.md spec/v2.0.0.md
Files index.md and spec/v2.0.0.md are identical

PR Checklist

  • This PR doesn't modify the files in the spec dir.
  • This PR passes npm run lint.
  • (Optional) If you're willing to help reviews about your language's translations, add your name to the TRANSLATORS.md.

Use the `current_version` field in `_config.yml` to automatically link
the index.md (the 'homepage') to the current version of the spec.

This prevents possible sync errors between spec/v<current-version>.md
and index.md.

Current situation:

    $ diff --report-identical-files index.md spec/v2.0.0.md
    Files index.md and spec/v2.0.0.md are identical
Jekyll handles this as it includes spec/v<current-version>.md.

See 1cbf02a
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