Skip to content

Conversation

@yochem
Copy link
Contributor

@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.

yochem added 2 commits July 16, 2024 16:56
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