Conversation
There was a problem hiding this comment.
This script executes post quarto render and removes css files classes based on a list of files and classes provided in the _features.yml file.
|
This is a good start, however the branch is using an old commit of master, before the README changes went in, which is not conducive to code review. Please rebase the branch off the current master, make any necessary changes such as in the README, and then force-push the branch up to Github. Also, please fix the whitespace errors introduced in this PR. There are already a lot in the repo, but that doesn't mean we should add to the problem! Check whitespace errors in this PR: git fetch origin
git checkout docgen
git diff --check origin/master...HEADGood resource: Checking whitespace with Git |
|
🚀 This branch can be previewed at https://59ae9cbc.docs-autonity-org.pages.dev |
* update the gh_pages workflow * update workflow to include working directory * update workflow * update readme * update readme, remove unused wiki link
…229) * update quarto yml file and add mock contracts for testing * add filters * add footer links * update theme
* make the 4 byte text less prominent * update quarto and lua script * update styling where applicable * add example markdown
…tom of the document (#236) * update footer lua script to allow for versioning * remove "version" text from the lua script * update css for version text and add example * Update styling and add missing chevrons * update example to include "next" for better visualisation of version placement * update css to make prev-next buttons smaller * update location for where contract docs will go (references/api/) * add fixes to styling for when only one navigation button is available * removed example contracts * removed 'latest' default for version string when no version is provided * Update quarto version in PR action * update versions
* Add contract description to metadata and not to page content in API docs To ensure that the auto-generated index.md doesn't contain unrelated data, as described in #244. * Disable word break in listing description With `word-break: break-all` the description would look something like: A CDP-based stabilization mechanism f or the Auton. Controls the supply of Auton on the net work. which is not great for readability.
* Update the ui for the auto generated solidity contract documentation (#229) * update quarto yml file and add mock contracts for testing * add filters * add footer links * update theme * Update UI templates and scripts to show the version number at the bottom of the document (#236) * update footer lua script to allow for versioning * remove "version" text from the lua script * update css for version text and add example * Update styling and add missing chevrons * update example to include "next" for better visualisation of version placement * update css to make prev-next buttons smaller * update location for where contract docs will go (references/api/) * add fixes to styling for when only one navigation button is available * removed example contracts * removed 'latest' default for version string when no version is provided * Update quarto version in PR action * update versions * update theme so that content margins can be adjusted * increase top margins for better grouping
* add a basic feature toggle * add empty script * add feature flag wip * Update readme, remove testing code from index.md
Updated wording to say "css" instead of "scss"
|
In this ee3fc51 commit i changed a comment in the code to say "css" instead of "scss" to prevent any confusion when used in future. |
Autonity has been building natspec docs since the 1.0 release.
|
@aiman I've made the following changes to streamline the build process:
Let me know what you think. |
This PR adds the following functionality:
Summary of changes