forked from github/docs
-
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.
Fix unresolved data lookups on GitHub Glossary page (github#16815)
* Support [...] in data tag path * Use forloop.index0 to get data tag path * Commit whitespace change to not keep getting it * Recursively render glossary terms as well * Add tests to verify Liquid data tag can handle bracketed access * Remove superfluous 'set' for context in tests * Avoid the mystery guest anti-pattern... move the test data closer to the test * Escape the `-` character in the data regex Co-authored-by: Jason Etcovitch <[email protected]> Co-authored-by: Chiedo John <[email protected]>
- Loading branch information
1 parent
9725758
commit e6518ff
Showing
3 changed files
with
53 additions
and
8 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
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