Adding a page Alert - errors and inconsistencies #316
-
Hello again, Thank you for your help with the Azure page setup. We are still trying to tweak the Azure side, but your assistance was most helpful in getting it to a functional state. For the documentation website, we are going to have one of two alerts at the top of the page to inform the reader about whether the page and content has been reviewed:
or
I have been testing the placement of the Alert, Main Heading and Metadate content (author, categories and date, mainly). During the testing, a few situations came about:
After further investigation, it seems that the build and deploy of the content from Retype is not working properly (somehow becoming corrupt in the process). In some instances, a build/deploy will fix or break the content displayed (even though the page does not change). I did think that it could be related to the Azure side of things, but realised that the built *.html pages are corrupted (and Azure only displays it). I have copied some screenshots and *.html files to show as examples. They can be viewed at https://joelmtaylor.github.io/Documentation/_example files/.... Geoff (or Fabricio), if you want, we can give you permissions to view the repo https://github.com/ccmltd/docs-corportatesystems. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 20 replies
-
Please. Access to the repo should help. |
Beta Was this translation helpful? Give feedback.
-
If you have a frontmatter block, it will need to be the first thing on the The following page will render, but not as you expect it to render as the frontmatter block is not the first item on the page. Also, those Hope this helps. |
Beta Was this translation helpful? Give feedback.
-
A nice optimization that might work well for your project is moving each of the author configs into an include file. For example, if you create a _includes/sara-dawson.mdauthors:
- name: Sarah Dawson
email:
link:
avatar: ../static/SarahDawson_Icon.png and then just include that sample.md
This would allow you to manage just one instance of the author details for each author, and just include that chunk of configuration across many pages. Instead of reproducing and maintaining the exact same content on many individual pages. Hope this helps. |
Beta Was this translation helpful? Give feedback.
-
Can you change the following line to use the # Old
# - uses: retypeapp/action-build@v2
# New
- uses: retypeapp/action-build@latest |
Beta Was this translation helpful? Give feedback.
Can you change the following line to use the
@latest
tag, instead of@v2
?https://github.com/JoelMTaylor/Documentation/blob/main/.github/workflows/retype-action.yml#L17