-
-
Notifications
You must be signed in to change notification settings - Fork 374
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
🚀 Docs Site Improvements #4319
🚀 Docs Site Improvements #4319
Conversation
+ Added DarkMode (Switcher, AutoLoad from cookies) + Added support for lower versions in search filter (v:2.5-) + Added Search results counter + Added support for branched version search (v:2.2-dev36) * Removed the SH for now until I implement the new one. * Improved the overall style to be much easier to read and understand. * Shorten the tabs list by using sub-tabs + Version number will now go to the GitHub changelog link of that version when clicked
+ Added sections page - Improved page inital loading for chromioum based browsers (up to 70%) by using content-visibility css property - Fixed searching filters regex - Improved submenu active state
- Merged PR SkriptLang#4063 - Added more info about strings (single quotes support after v2.6) - Fixed all broken docs links in examples and descriptions - Improved the docs patterns to temove unnecessary parentheses such as [(script)] ex. ExprAllCommands - Unified the word "coluor" to be "color" for better search results and unified usage
- Update sections description & examples - Revert SecConditional syntax ordering changes - Fixed more broken docs links using ../ instead of ./ - Fixed hooks docs not generating because the plugins are not installed, now they will generate if the user have /docs-template/ folder in Skript's folder OR the plugins installed - Updated docs info of hooks (required-plugins section) - Fixed classes and events requiredPlugins section joining values using newline instead of ", " - Unified left-over "Colour" words in ExprColorOf
- Added custom Skript SyntaxHighlighting (Much faster, made for Skript, Built-in) - Theme Improvements - Fixed a padding bug causes recently in this PR - Fixed a bug in theme switcher button in home page - Added stable version and more placeholders to be used later on - Anchor elements Improvements
This is probably the last update in this PR - Added 'New' Tab that show all the registered syntaxes with a version filter to see the new additions since specific version - Added new search filters (is:new type:cond type:expr etc.) - Added syntax type on the right side - Syntax left border will now depends on the type - Added copy search link to allow people to paste links with custom search parameter - Added 'new' badge beside new added/updated syntaxes - Allow generating hooks docs if in testing mode and doc-templates folders exists (to make it easier for debugging and new releases) - Some main.js improvements and cleaning up - Search bar and search icon now have a tooltip to show some information - Updated the light bulb icon to match the feel of the website - Added 'How to generate the docs' section to README - Dimmed the white text a bit in dark mode
This PR is now ready for review :) |
- Fixed new CSS not working well on mobile - Improved CSS for mobile
- Improved new.html page versions loading (by caching versions) - Fixed duplicated IDs check and new.html sidebar items filtering - Fixed search link parameter decoding '+' as a space - Fixed new search filters not showing results count - White theme improvements
Converting to draft since I am adding more features due to the recent updates |
- Fix dark mode not selected by default - Improve hash link scroll handling - Fix new.html versions showing empty option sometimes - Merged SkriptLang#4348 Thanks to (@oskarkk) - Readded (font) chat component to text.html after removing it by accident - Fixed unnamed classes warning in docs.json - Fixed typo in EvtBlock - Added missing docs info for couple classes - Improved light off icon - Improved white theme background color
@AyhamAl-Ali conflicts need to be handled. |
- Cleaned up functions to be in their own file to remove duplicated code in theme-switcher.js and main.js
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.
Approved pending reorganisation of website files.
Conflicts @AyhamAl-Ali |
I don't think we should standardize |
Pikachu forgot to add the Keywords.class annotation lol |
- Added arrow to tutorials navbar
Description
This PR aims to improve the docs site after last restyle #3935
Live Preview: https://ayhamal-ali.github.io/Skript/ (up-to-date)
Changelog (Will be updated continuously) (up-to-date)
Docs
tab is now clickable and will open a page with all the elementsreturn type
for expressions and functions4[ ]
asoff[ ]hand
Target Minecraft Versions: Any
Requirements: None
Related Issues: