-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add project: highlight yaml examples #369
Open
humitos
wants to merge
10
commits into
main
Choose a base branch
from
humitos/yaml-highlight
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Commits on Jun 6, 2024
-
Add project: show more
yaml
examplesI used tabs to show different examples of YAML files, as suggested in #184. It looks great for an initial interactive approach. I like the tabs over the dropdown because it gives the user a clear idea there are more than Sphinx and MkDocs tools supported, which is a good marketing strategy, in my opinion. It also adds an "Others" option that's more generic and shows how to use `build.commands` in a generic way: install dependencies, build, copy assets under `$READTHDOCS_OUTPUT` directory.
Configuration menu - View commit details
-
Copy full SHA for 570abd6 - Browse repository at this point
Copy the full SHA 570abd6View commit details -
Add project: highlight yaml examples
I used `highlight.js` to highlight the examples when importing a project. It requires importing a CSS file that I'm not sure where to put it yet. https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/dark.min.css Besides, I need to know where to place the small chunk of JS code that I added to make this work. Based on #368
Configuration menu - View commit details
-
Copy full SHA for b7c1209 - Browse repository at this point
Copy the full SHA b7c1209View commit details -
Configuration menu - View commit details
-
Copy full SHA for ee5450a - Browse repository at this point
Copy the full SHA ee5450aView commit details -
Configuration menu - View commit details
-
Copy full SHA for e0f8e15 - Browse repository at this point
Copy the full SHA e0f8e15View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2969bc6 - Browse repository at this point
Copy the full SHA 2969bc6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d23129 - Browse repository at this point
Copy the full SHA 9d23129View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9aad0dd - Browse repository at this point
Copy the full SHA 9aad0ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 42e9185 - Browse repository at this point
Copy the full SHA 42e9185View commit details -
Configuration menu - View commit details
-
Copy full SHA for 46ff6bf - Browse repository at this point
Copy the full SHA 46ff6bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e4fcfa - Browse repository at this point
Copy the full SHA 6e4fcfaView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.