Commit graph

1354 commits

Author SHA1 Message Date
Agastya Darma
c8781bedce Move verifying Installation section to Installation doc (#435) 2018-02-12 18:04:17 -08:00
Joel Marcey
69603c968e Revert "Adding scrollbar to header when it overflows (#444)"
This reverts commit 5e39b2e01f.
2018-02-12 07:30:37 -08:00
Glavin Wiechert
41750667cd Allow edit URL to be customized with doc metadata (#443) 2018-02-11 16:43:37 -08:00
Maaz Syed Adeeb
5e39b2e01f Adding scrollbar to header when it overflows (#444) 2018-02-11 16:39:10 -08:00
Tom Auger
2d7274f6fe Blog feed fixes #370 (#407)
* Refactor markdown rendering into separate module

* Render blog feed description in html
2018-02-11 08:05:58 -08:00
larsville
546cc8c7c5 Update api-doc-markdown.md (#440)
remove superfluous apostrophes
2018-02-10 21:10:12 -08:00
Ozan Araz
0da690db57 Organize siteConfig.js options documentation page better #436 (#437) 2018-02-06 08:03:50 -08:00
Joel Marcey
6dc282221a
Clarify publishing to a user or organization page (#434) 2018-02-03 19:03:34 -08:00
Samina Fu
a08b3cc921 Remove dead code in sitemap.js, close #429 (#430)
Closes #429
2018-02-02 19:45:00 -08:00
Eric Nakagawa
dfb70e1829 Allow controlling number of blog posts in Recent Blogs sidebar. (#432)
New feature. Allow controlling number of blog posts in Recent Blogs sidebar. Can have qty or ALL.
2018-02-02 08:11:51 -08:00
Héctor Ramos
c99cdefd3a Fix links in blog Atom feed (#421)
The root URL was missing the baseURL portion. This is fine when a site is hosted on a custom URL such as docusaurus.io, because the generated URL will be valid (docusaurus.io/blog), but it breaks when the site is hosted on GitHub Pages (the React Native feed was using facebook.github.io/blog as the rootURL).

* Fix link to header image
2018-01-31 20:04:35 -08:00
Harrison Shoff
c6a9848a17 Add key to stylesheet links in Head.js (#425)
* Add key to config.stylesheets.map in Head.js

* Run prettier on Head.js
2018-01-31 19:59:41 -08:00
Joel Marcey
62893dfe28
Add some more information around wrapPagesHTML (#426) 2018-01-31 19:53:50 -08:00
Joel Marcey
8c71572d7a Remove rogue console.log for the status code 2018-01-29 21:05:28 -08:00
Henry Zhu
cb2f0eda62 Also transform class properties and object rest spread (#419) 2018-01-26 10:47:09 -08:00
Héctor Ramos
61c5d2d8e0 Treat latest version as current version (#418)
If the site is versioned, and the latest version is displayed, the URL will not change. We need to let Algolia know this is the case.
2018-01-25 17:28:25 -08:00
Joel Marcey
3e824afe97
Use Discord vanity URL (#417) 2018-01-24 10:29:28 -08:00
Joel Marcey
2d9d8b1158
Add links to Discord channels (#414)
We now have an additional support structure.
2018-01-23 13:23:52 -08:00
Sunny Luo
43e80fcea7 Fix regex for non english versioned docs (#412) 2018-01-23 13:23:33 -08:00
Joel Marcey
c81609d393
Send status code to server response for redirects (#408)
Also simplified the logic a bit to reduce duplication

Closes #404
2018-01-23 13:13:25 -08:00
Juan Picado @jotadeveloper
036b84df90 Verdaccio proudly website was built with Docusaurus (#411) 2018-01-22 08:26:25 -08:00
Joel Marcey
edbb869e26
Add more details on configurable fonts (#409) 2018-01-21 20:10:04 -08:00
jonathan-cowling
a241a46669 Make font-family as configurable parameter(#220) (#294)
We look for fonts object within siteConfig.js
2018-01-21 19:54:52 -08:00
Hayden Evans
e0704d0f55 Correct typo in getting-started-installation.md (#405)
Change 
> Docusaurus was designed from the ground up to be easily installed and used to get your website up **an** running quickly. 
to 
> Docusaurus was designed from the ground up to be easily installed and used to get your website up **and** running quickly.
2018-01-19 18:56:04 -08:00
Rick Hanlon II
4c2558e8bd Fix margin for right-aligned images (#398)
Update so imageAlign* has a class for all directions
2018-01-17 19:04:03 -08:00
Jakub Kłobus
373a3e62de Added react-native-ios-kit to list of projects using Docusaurus (#400) 2018-01-17 16:41:41 -08:00
Kota Kanbe
9fd788d125 Add Vuls as a Docusaurus user (#401)
Vuls uses Docusaurus, Please add our logo if you like.
2018-01-17 16:35:23 -08:00
Joel Marcey
2e17953199 Revert "Issue 254 (#343)"
This reverts commit c921b8a38c.

The search ended up misaligned on Chrome
2018-01-11 21:08:33 -08:00
Richard Zhang
c921b8a38c Issue 254 (#343) 2018-01-11 19:38:54 -08:00
Richard Zhang
e8599c05a8 Remove duplicate blog.xml route (#364) 2018-01-11 16:42:39 -08:00
Ika
ba99660a3c fix(feed): add missing slash for image url (#365) 2018-01-11 16:40:29 -08:00
ppatel221
7864e1b329 Update doc2.md (#366) 2018-01-11 16:38:20 -08:00
Joel Marcey
1d967a941c
Add section on referencing documents (#394)
Closes #240
2018-01-11 16:36:56 -08:00
Cheng Lou
00270c26a7 i18n: use zh-TW and zh-CN over zh-Hant and zh-Hans (#377)
Both crowdin and docsearch i18n configs use TW and CN over Hant and Hans. This should reduce some config confusions.
cc @ericnakagawa. Also, apparently you're working on algolia search i18n?
2018-01-11 15:40:53 -08:00
Héctor Ramos
c08142c094 s/enamed/renamed (#393) 2018-01-11 15:23:13 -08:00
Joel Marcey
ed5d24f6ea
Fix unreleased in Changelog
Had v1.0.4 instead of v1.0.5
2018-01-09 13:59:11 -08:00
Joel Marcey
be09889b41
Publish Docusaurus v1.0.5 (#386) 2018-01-09 13:56:35 -08:00
Joel Marcey
c14a8d2e77
Always use PROJECT_NAME, even for user and org pages (#384)
* Always use PROJECT_NAME, even for user and org pages

The symptom was that if we had a user or org page (e.g., https://JoelMarcey.github.io), we would try to copy files to a directory within a directory, getting errors like:

```
Error: Copying build assets failed with error 'Error: Cannot copy '/Users/joelm/dev/JoelMarcey.github.io/website/build' to a subdirectory of itself, '/Users/joelm/dev/JoelMarcey.github.io/website/build/JoelMarcey.github.io-master'.'
```

This is because we were setting the end of `fromPath` to empty if we were using an org or user page.

But we don't need to do that. The `PROJECT_NAME` (set in `siteConfig.js` as `projectName`) is the user or org repo

e.g., https://github.com/JoelMarcey/JoelMarcey.github.io/ has a `projectName` of `JoelMarcey.github.io` with an `organizationName` of `JoelMarcey`.

So now the `fromPath` and `toPath` look like:

`fromPath`: `build/JoelMarcey.github.io`
`toPath`: `buuid/JoelMarcey.github.io-master`
2018-01-09 09:11:07 -08:00
Dániel Tar
654916ae98 Fix build on Windows (#381)
Use `path.dirName` instead of a `file.replace` on regex'd replaced string
2018-01-08 15:44:50 -08:00
Filip Danić
65085b1337 document changes from PR #206 (as per issue #212) (#380) 2018-01-08 08:22:46 -08:00
Joel Marcey
f533311bee
Add Reason as a Docusaurus user (#373)
And alphabetize the list as well
2018-01-04 13:03:36 -08:00
Ricky Vetter
57306e1c53
Remove "Lead" from my title
I'm barely a developer. I think it's a stretch to call me a lead :P
2018-01-04 11:59:13 -08:00
Ricky Vetter
b0b1a839e7
Update users to follow their naming convention
By convention both BuckleScript and ReasonReact are PascalCase. Also removed BuckleScript from fbOpenSource because it's not technically under that umbrella.
2018-01-04 11:51:46 -08:00
Joel Marcey
8e5b5c9f0f
Update publishing docs and API information (#372)
Some environment variables can be set by the CircleCI build itself
Document `USE_SSH`
2018-01-03 17:03:14 -08:00
Joel Marcey
efaa792206
Add password token back for Circle
Since we are not using SSH
2018-01-03 17:00:25 -08:00
Joel Marcey
3a2c801262
Do not use SSH for the new publishing bot 2018-01-03 16:52:42 -08:00
Joel Marcey
e260076fd9
Use docusaurus-bot for publishing (#371) 2018-01-03 16:21:29 -08:00
Joel Marcey
7b13b75695 Updated publishing documentation to make to check write access for user 2018-01-03 13:54:54 -08:00
Joel Marcey
ea52a1a110
Fix link in CHANGELOG.md 2017-12-27 16:19:32 -08:00
Joel Marcey
430e35b5ea
Publish Docusaurus v1.0.4 (#363) 2017-12-27 16:14:30 -08:00