Commit graph

1275 commits

Author SHA1 Message Date
Yangshun Tay
311b44aeaa
v1.7.2 (#1212) 2019-01-28 22:18:12 -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
Marvin Chin
487fd573e5 fix: docs asset links should follow specified docsUrl (#1204) 2019-01-28 09:20:00 -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
Joel Marcey
cbcbf5a8c2
Add copyright header to codetabs.js 2019-01-25 13:45:11 -08:00
Joel Marcey
fdd5117300
Add copyright header to CodeTabsMarkdownBlock.js 2019-01-25 13:42:47 -08:00
Joel Marcey
49efdd8fa2
v1.7.1 (#1202) 2019-01-24 07:06:45 -08:00
Ahmad Alfy
945f511ecb fix: revert image-min back to dependencies (#1201) 2019-01-24 06:20:26 -08:00
Yangshun Tay
1050de7d1c
v1.7.0 (#1199)
* v1.7.0

* fix release

* fix release
2019-01-23 23:47:52 -08:00
Yangshun Tay
370a874a0a fix: turn off react/no-array-index-key lint rule 2019-01-23 23:34:13 -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
zakaria harti
c27a430529 docs: showcase user react-leaflet (#1127) 2019-01-23 13:40:36 -08:00
Simen Bekkhus
f6342731cc fix: add margin-bottom: 0 to blog post author (#1193) 2019-01-22 09:37:11 -08:00
Yifan Ma
54a338acaa docs: showcase user Redux (#1192)
* Add Redux as a user on the user page

* Update users.js
2019-01-20 23:56:18 -08:00
Marvin Chin
3ff79fceb1 docs: add missing trailing slash to sample site config base url (#1190) 2019-01-18 09:31:02 -08:00
Marvin Chin
4dcd6840c3 fix: missing default value for grid block content objects (#1186) 2019-01-16 00:31:27 -08:00
Zoltan Kochan
e31ecdfd0c fix: pass docusaurus-publish cli args to build command (#1185)
* fix: --skip-image-compression

The --skip-image-compression flag is passed thru to the build command

* prettier
2019-01-15 11:54:17 +08:00
Roy, Haoqiang Zhang
47bcac91f2 docs: showcase user katex (#1181) 2019-01-07 00:01:55 -08:00
Mike Perry Y Attara
3233c2c8c1 docs: replace gulp favicon with svg gulp logo (#1175)
* add Node SerialPort

* add react-native-sensors logo

* add React Native Sensors to users

* fix gulp image

* add gulp logo as svg

* Update users.js

* Update react-native-sensors.svg
2019-01-04 11:01:56 -08:00
John Watson
a42b0d7c56 Add FBT (#1179) 2019-01-03 14:57:52 -08:00
Mike Perry Y Attara
71fa542a58 docs: add React Native Sensors and Node Serialport to users (#1176)
* add Node SerialPort

* add react-native-sensors logo

* add React Native Sensors to users

* add react-native-sensors logo

* fix: fix image path for logo

* replace logo with official square logo
2019-01-02 19:20:34 -08:00
Michał Lytek
177c9c8722 docs: add TypeGraphQL to users (#1174) 2019-01-01 14:08:57 -08:00
Mike Perry Y Attara
cc5461b2c0 docs: showcase user Node SerialPort (#1163)
* add Node SerialPort

* update
2018-12-24 12:06:28 -08:00
Ahmad Alfy
6f820d6453 chore: update imagemin and its dependencies (#1162)
* Update imagemin and its dependencies

* update lockfile
2018-12-24 10:56:21 +08:00
Teimur Gasanov
28700a94a9 fix: gap on mobile devices when scrolling (#1157) 2018-12-17 10:04:30 +08:00
Joel Marcey
0a5cf8ffb2
First Birthday Post (#1156) 2018-12-14 13:02:18 -08:00
Endilie Yacop Sucipto
f12549424e
fix: edit url should support versioned subdirectories (#1154)
fix: edit url should support versioned subdirectories
2018-12-11 11:22:23 +08:00
Endilie Yacop Sucipto
b2b1cc2b52
v1.6.2 (#1151)
* v1.6.2

* changelog
2018-12-08 02:16:15 +08:00
Joel Marcey
c78a8b4262 fix: do not hardcode siteConfig path (#1150)
* Fix broken build

Do not hardcode path in require to siteConfig

* Just require instead of loadConfig

* Actually use loadConfig

I think the test may be wrong too.

* refactor & nits

* jest mock to fix test

* fix test
2018-12-08 02:09:25 +08:00
Endilie Yacop Sucipto
71824a3541
v1.6.1 (#1148)
* v1.6.1

* add changelog

* update changelog
2018-12-08 00:01:14 +08:00
tsmrachel
a1e7af7e0e fix: #1114 static files in blog/assets is not working (#1143)
* fix: #1114 static files in `blog/assets` is not working

* lint fix
2018-12-07 23:58:20 +08:00
Jeremy Bolding
db6017903b docs: add Gulp to users (#1144)
* 💚 Added GulpJS to users.js

* Update users.js
2018-12-06 15:30:03 -08:00
morleym
8a08fbf2d7 docs: add smash.gg to users (#1145)
* added smash.gg to Docusaurus users

* Update users.js
2018-12-06 14:33:41 -08:00
Joel Marcey
818e608639 docs: add Profilo/remove BlueWhale to users (#1141)
docs: add Profilo/remove BlueWhale to users
2018-12-04 09:17:56 -08:00
Endilie Yacop Sucipto
9360739cba
fix: support relative markdown linking (#1138)
* fix: relative markdown reference linking

* prioritize relative linking resolve
2018-12-04 12:26:43 +08:00
Jake Bolam
c4a9b31984 feat: add custom commit message (#1136)
* feat: add custom commit message

Addresses: #1135

* Update publish-gh-pages.js

* add support to v2 as well

* docs: add them

* docs
2018-12-04 12:26:21 +08:00
Endilie Yacop Sucipto
cb1395ee29
fix: docusaurus-version generates wrong metadata
Fix #1140 

Regression from #1125
2018-12-04 12:21:30 +08:00
Endilie Yacop Sucipto
7a0ff3390d
chore: update changelog 2018-12-02 14:40:47 +08:00
Endilie Yacop Sucipto
0492ba53a5 v1.6.0 (#1133)
* v1.6.0

* nits changelog

* typo
2018-12-01 21:37:00 -08:00
Dom Corvasce
61078e38a9 feat: Allow modifying docs url prefix (#914)
* 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
2018-11-28 15:34:16 +08:00
Richard
ff22074ff7 chore: Add Haul to users page (#1130) 2018-11-27 22:47:35 +08:00
Joel Marcey
4034fa1453 docs: add TorchCraftAI as user (#1129) 2018-11-26 10:38:21 -08:00
maxaggedon
c6f3f0958d feat: customizable search placeholder (#1126)
* feat: customizable search placeholder

* prettier
2018-11-23 14:27:59 -08:00
Gianluca Donato
711c15d3e3 feat: warning message when md links are broken (#1116)
feat: show a warning message when md links are broken
2018-11-23 22:43:12 +08:00
Endilie Yacop Sucipto
1e8361392c fix: docusaurus-version should allow duplicate id in different subfolder (#1125)
* fix: docusaurus-version should not be confused for duplicate ids in different subfolder

* nits

* nits

* remove log
2018-11-22 23:51:18 -08:00
Endilie Yacop Sucipto
579cc61bbf fix: docusaurus-version should work with subcategory (#1124) 2018-11-22 21:15:52 -08:00