-
-
Notifications
You must be signed in to change notification settings - Fork 10.1k
Add clarity to docs on permalinks placeholders and builtins #8995
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
Conversation
- global permalink doesn't have "output_ext" placeholder as documentation above tells - wrong "W:" removed
This is my attempt to write regex for:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me
I went to go double check the code and now I'm confused. The documentation mirrors the code exactly. When you use these permalink styles on a site, are you seeing different results? |
🤔 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Blocking this since docs should mirror Ruby codebase.
Agreed. But it is mentioned under subsequent section towards end of page
Agreed that it has not been documented anywhere. Perhaps this pull request could add that info.. |
What placeholder prefixes are allowed? |
@EmilySeville7cfg See underlying code for reference: jekyll/lib/jekyll/configuration.rb Lines 272 to 278 in 19868d5
Built-ins are syntactic-sugars (or shorthands) to a particular implementation. P.S. You may add a note to reduce confusion.. Also, please update the PR title and description to better describe latest diff. |
Co-authored-by: Ashwin Maroli <ashmaroli@users.noreply.github.com>
Thanks @EmilySeville7cfg |
Emily Grace Seville: Add clarity to docs on permalinks placeholders and builtins (#8995) Merge pull request 8995
Summary
:output_ext
as a placeholderW
prefix to:week
when usingweekdate
builtinContext
Questions
What to do with
date
andpretty
formats now? I want fix documentation errors because it's hard to write JSON schema when they are exist.