* Update api-site-config.md
Added a piece of text from the set-up guide to enable Google Fonts.
* Update api-site-config.md
* Update api-site-config.md
* Update api-site-config.md
Added a clarification to the cleanUrl property to set it false if the users intend to use docusaurus only offline.
* Update api-site-config.md
Added the copyright information.
* Update api-site-config.md
I wanted to enable superscript and subscripting to a v1 site. It wasn't quite clear how to do it. @yangshun helped me figure it out. So I thought I would document it.
* feat : #1084 Collapsus - The Collapsible Menu
* updated docs
* fixed prettier
* fix for category not auto-expanding upon navigating to a subcategory under it
* as requested by endiliey. Do not merge this commit.
* Update api-site-config.md
* Update guides-navigation.md
* Update SideNav.js
* Update main.css
* Update SideNav.js
* Delete subcategory1.md
* Delete subcategory2.md
* Update sidebars.json
* Allow other routes than /docs in the URL
siteConfig.js has a new mandatory field named *docsRoute* which default
value is 'docs' and that can be customized by the user.
This change will allow users who uses the library to host guides and
tutorials to customize their websites by assign 'docsRoute' values
like 'tutorials' or 'guides'.
Fixes#879
* Make "docsRoute" field optional
* Isolate docsRoute login in getDocsRoute function
* Rename docsRoute to docsUrl
* Run prettier
* Remove old folders
* fix: Restore docusaurus reference link
* fix: Add `docsUrl` param fallback. Refactor multiple function calls
* Fix linting errors
* Update description for docsUrl field
* Reduce redundant calls to getDocsUrl
* Replace a missed use case for `docsUrl` instead of the function call
* Move `getDocsUrl` out from `server/routing.js` to `server/utils.js`
**Why?**
Because `routing.js` is exporting all router RegEx's, and the
`getDocsUrl` suffices more as a util
* WiP: Align leading slashes and fix routing around `docsUrl`
Checklist:
- [x] Added `removeDuplicateLeadingSlashes` util to make sure there is only
one leading slash
- [-] Fix edge cases for routing:
- [x] `docsUrl: ''`
- [ ] `docsUrl: '/'`
- [ ] make it work with languages
- [ ] make it work with versioning
* Make leading slashes canonical cross routing and generated links
This ensures correct routing for customized `baseUrl` and `docsUrl`.
- Changed all routing functions to take `siteConfig` instead of
`siteConfig.baseUrl`
- Updated tests accordingly
* Alternative fallback for `docsUrl`
* rework/ fix implementation
* cleanup
* refactor and add docs for config props
* fix typo
* fix broken url
* 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
* Added option for client to include there own remarkable config
* Better use merge here
* Added lodash ...
* Change use of lodash to deepmerge and added description to api site
* markdownConfig -> markdownOptions
* Update api-site-config.md
* remove 1.4 docs change
since it is unrelated (the feature will only be available in next release)
* Run prettier
* Adding last updated time for docs
* Making file path general and other suggested changes
* Checking if time returned is null due to absence of git or some other issue
* Adding option to enable/disable update time feature and test-doc
* Adding simple unit tests for getGitUpdateTime()
* nits & rewrote failing test
* consistent test naming
* Adding optional updateEnableTime in documentation
* package-lock & yarn.lock
* Enable user to use prism.js as syntax highlighter
* add package-lock
* if 'usePrism' is true, use prismjs on all languages
* don't get lang by hljs if use prism
* Update api-site-config.md
* Update api-doc-markdown.md
* only load prism css when usePrism is true
* enhance footer with social media buttons
* Update api-site-config.md
* Update Footer.js
* fix minor issue on social-footer
* update facebookAppId description in api-site-config
* rm heading & pad footer social button
* Update api-site-config.md