-
Notifications
You must be signed in to change notification settings - Fork 13
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
Show date of last update #154
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
beatalipska
approved these changes
Nov 9, 2023
timothymcmackin
added a commit
that referenced
this pull request
Nov 9, 2023
* typo * Anchor for office hours (#157) * Capitalization (#156) * Capitalize "Mainnet" * Capitalize Ghostnet * Capitalize Smart Rollups * Capitalize Dailynet * Remove information about TzStats public API (#155) * tzstats API is no longer public * Hide the inspect contract topic for now * Show date of last update (#154) * Show the last update date and make that footer the base color * Format dates like docusaurus wants them * Don't bold the last updated date
timothymcmackin
added a commit
that referenced
this pull request
Nov 9, 2023
timothymcmackin
added a commit
that referenced
this pull request
Nov 16, 2023
* pages on creating, testing and deploying smart contract * fixed file location & language style, recovered package.json and package-lock.json * Eliminate bold formatting in lists * updated creating smart contracts * testing updated * updated creating and testing * updated deploying * New format for dates based on #154 * updated pages * fix indent * Update docs/smart-contracts/creating.md Co-authored-by: Tim McMackin <timothymcmackin@users.noreply.github.com> * Update docs/smart-contracts/deploying.md Co-authored-by: Tim McMackin <timothymcmackin@users.noreply.github.com> * Update docs/smart-contracts/testing.md Co-authored-by: Tim McMackin <timothymcmackin@users.noreply.github.com> * Update docs/smart-contracts/testing.md Co-authored-by: Tim McMackin <timothymcmackin@users.noreply.github.com> * Update docs/smart-contracts/deploying.md Co-authored-by: Tim McMackin <timothymcmackin@users.noreply.github.com> * Interacting with the contract --------- Co-authored-by: Tim McMackin <timothymcmackin@yahoo.com> Co-authored-by: Tim McMackin <timothymcmackin@users.noreply.github.com>
timothymcmackin
added a commit
that referenced
this pull request
Nov 16, 2023
* pages on creating, testing and deploying smart contract * fixed file location & language style, recovered package.json and package-lock.json * Eliminate bold formatting in lists * updated creating smart contracts * testing updated * updated creating and testing * updated deploying * New format for dates based on #154 * updated pages * fix indent * Update docs/smart-contracts/creating.md Co-authored-by: Tim McMackin <timothymcmackin@users.noreply.github.com> * Update docs/smart-contracts/deploying.md Co-authored-by: Tim McMackin <timothymcmackin@users.noreply.github.com> * Update docs/smart-contracts/testing.md Co-authored-by: Tim McMackin <timothymcmackin@users.noreply.github.com> * Update docs/smart-contracts/testing.md Co-authored-by: Tim McMackin <timothymcmackin@users.noreply.github.com> * Update docs/smart-contracts/deploying.md Co-authored-by: Tim McMackin <timothymcmackin@users.noreply.github.com> * Interacting with the contract --------- Co-authored-by: Tim McMackin <timothymcmackin@yahoo.com> Co-authored-by: Tim McMackin <timothymcmackin@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
We keep info on the last update and authors in the markdown front matter. Do we want to display it? This PR reformats the dates so it works with the default docusaurus formatting and shows them in a footer.
For reference, the regex I used in vscode to fix the date formatting is:
lastUpdated:\s*(\d+)\w*?\s*(\w*)\s*(\d*)$
to
last_update:\n date: $1 $2 $3
Note that the dates appear only in prod build mode, so they just appear as a placeholder when you run
npm run start
.We could show the authors, too, but there are often multiple people in the authors field and I'm not sure how that would look with the specific update date.