forked from w3c/web-roadmaps
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generate IDs, auto-expand feature names, preserve custom directives
This commit implements the following changes: - Custom directives in the <head> are now preserved. This makes it possible to set a different <base> but also to override the CSS as well as to insert JS code if needed (fixes w3c#76) - Given an empty <a data-featureid="[feature]"></a>, the code automatically sets the content of the link to the name of the feature if it exists, in other words the "feature" value in the "data/[feature].json" file, or to the title of the underlying specification otherwise (fixes w3c#78) - IDs are automatically generated for sections, feature paragraphs and individual feature references. The code used was stolen from Respec (fixes w3c#95)
- Loading branch information
Showing
2 changed files
with
101 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters