Commit graph

19 commits

Author SHA1 Message Date
Jeff Wen
376dd2b018 fix: hovering algolia logo break its background color (#1240)
* fix: css break when hover algolia logo

* Tweak

* Improve

* Remove empty line
2019-02-22 15:56:37 +08:00
Yangshun Tay
2dae42d0f9 fix: change mainContainer padding to align with sidebars 2019-02-08 12:06:04 +08:00
Yangshun Tay
1fb1a92293
fix: change sidebar chevron icon to use svg (#1211) 2019-01-28 22:03:11 -08:00
Yangshun Tay
a99dbb1976
fix: make search bar taller on widescreen (#1210) 2019-01-28 21:27:21 -08:00
Bartosz Szczeciński
1888e0fb92 fix: horizontal overflow in collapsible sidebar (#1205)
When the sidebar is collapsible, a horizontal scrollbar can be seen, e.g.:

https://docusaurus.io/docs/en/installation - https://i.imgur.com/IkrkLrp.png

This is caused by the arrow being rendered outside of the sidebar box.
2019-01-28 09:18:54 -08:00
Yangshun Tay
dcd3361413 misc: update docs for new features 2019-01-23 23:20:11 -08:00
Fienny Angelina
5ce85e5b5e feat: code block tab (#1063)
* Try to find a way to recognize the codeblock tabs, its title, and
where it ends
- I try using DOCUSAURUS_CODE_TABS to mark the start
- Use TAB_TITLE to mark the title of the tab
- END_TAB to mark the end of that tab
- END_DOCUSAURUS_CODE_TABS to mark the end of the whole code blocks
then parse using regex and render accordingly

* Added on click hook

* Added example on how to write it, how to use it, how it will look like can be reverted later

* Fix css error

* - Move addEventListener part to lib/static
- Remove comments

* Add documentation

* Remove examples

* Change syntax of the codetabs
2019-01-23 21:48:01 -08:00
Marvin Chin
4ce7ae2c98 fix: wrong padding for single row mobile nav (#1191) 2019-01-23 21:42:16 -08:00
tsmrachel
d5fd15ecbe feat: collapsible categories (#1128)
* 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
2019-01-23 14:13:27 -08:00
Simen Bekkhus
f6342731cc fix: add margin-bottom: 0 to blog post author (#1193) 2019-01-22 09:37:11 -08:00
Teimur Gasanov
28700a94a9 fix: gap on mobile devices when scrolling (#1157) 2018-12-17 10:04:30 +08:00
Yangshun Tay
8bcb5d3365 chore: revert full-width nav changes 2018-10-31 22:35:41 -07:00
Yangshun Tay
7488de266f chore: add final copyright headers 2018-10-26 18:27:37 -07:00
Fienny Angelina
8cf9afe4ac feat: add last contributor to each document (#980)
* 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
2018-10-18 00:59:16 -07:00
Yangshun Tay
b577f60d4a
fix: improve last updated time feature (#1036) 2018-10-14 15:05:00 -07:00
Yangshun Tay
fe500dea82
fix: change subcategory format (#1026)
* fix: change subcategory format

* Fix sidebars

* Refactor

* Fix implementation

* Change format
2018-10-10 08:33:20 -07:00
Will Brock
954456088c feat: sub-categories in sidebar.json (#892)
* Add ability to specify sub categories in sidebar.json

* move v1 files to correct place

* refactor implementation

* refactor naming for implementation clarity
2018-10-08 16:09:29 +08:00
Alkshendra Maurya
d2dd047866 style: UI improvements to searchbar (#989)
* Clean up responsive search overrides

* Add responsive improvements to searchbar fixes #988, fixes #385
2018-09-28 15:08:37 +08:00
Yangshun Tay
f2927a9fc4
Move Docusaurus 1 files into directory (#966)
* Move Docusaurus 1 into v1 directory

* Update Circle CI commands for new v1 dir

* Remove OC

* Fix tests
2018-09-18 00:58:07 +08:00