* Update guides-custom-pages.md
Guide on how to add "Copy" to clipboard buttons on code blocks in Docusaurus.
* Update guides-custom-pages.md
Changed wall of text to be a link to a gist describing the code you need to add to add copy clipboard
* Add to markdown instead
* Update guides-custom-pages.md
* add contributor list to each document
* handle case where there is no github repo
* Move to v1
* Revert "handle case where there is no github repo"
This reverts commit a76a887901.
* Revert "add contributor list to each document"
This reverts commit c0cc79f995.
* Add last updated by field
* -Include enableUpdateBy in the config
- Rename css class to be more general
* Fix lint
* Refactor :
- s/getGitlastupdated/getGitLastUpdatedTime
- refactor part in getGitLastUpdated[Time|By] that overlaps
- remove getAuthorInformation
* -Modify the display logic
-Refactor the utils, combine lastupdatedtime and lastupdatedby
-Replace the test
* Modify docs based on the display change
* Update docs for url and baseurl
For more clarity and to make relationship more clear
* Update support for Web App Manifest (#1046)
* misc: update nits
* misc: update nits
* Fix last updated time misleading, only show when file content change
or otherwise when it is first created
Fix#1015
* Fix prettier
* - Simplify regex
- Uses shelljs instead of cross-spawn
- Make logic clearer
* Add test when repositories is moved
* Use shell.exec mock
I initially try to mock the whole shelljs. But it returns error
shell.exec is not a function when i try to provide the mockResolvedValue
I think it is because of the inner code of shelljs who run a forEach to
require each of its method which make it a promise. I tried moving the
jest.mock inside beforeAll and also adding babel-dynamic-import but it did
not solve the problem. In the end, I decided to just mock shelljs.exec since
it is the only function used anyway
* Add ability to specify sub categories in sidebar.json
* move v1 files to correct place
* refactor implementation
* refactor naming for implementation clarity
* Upgrade babel in v2 folder
* Use babel-plugin-transform-dynamic-import instead of babel-plugin-dynamic-import-node
* Remove not needed import polyfill by changing the order of import
* Revert "Remove not needed import polyfill by changing the order of import"
This reverts commit 9263aa693a.
* Fix prettier
* Upgrade babel 7
Use custom transform for jest to handle docs test since there is
path change in there
* change all version of babel dependency
* - add silent to yarn build
- add babel/types to expose method used in translate-plugin