Feat/replace md from static to fetched dynamically #331
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.
Description
This PR builds up on the previously merged test PRs and adds the
chipstatus
shortcode that fetches markdown content dynamically for chip support status pages.The files are fetched from respective links in the shortcodes. For more information on how to upload, edit, or remove these files, see this repo's GitLab mirror > Wiki > Upload files bypassing git.
This PR also replaces the static content on the ESP32-C61 chip status page with the
chipstatus
shortcode.Emoji shortcodes
Prior to adding the chip support markdown content statically to this repo, the checkmark ✅ and hourglass ⏳ emojis were replaced with their respective shortcodes
:white_check_mark:
and:hourglass_flowing_sand:
. These shortcodes are text-based hence they are safer then emoji icons directly added to markdown.Since the chip support markdown content is going to be stored outside of git, the emoji shortcodes were replaced back with their icons. This helps render the fetched markdown content considerably faster on a page. In case these icons cause any issues, we can still use the emoji shortcodes if we revert the commit
feat(chip-status): remove emoji shortcode rendering for simplification
added in this PR.Related
Testing
Checklist
Before submitting a Pull Request, please ensure the following: