Commit graph

209 commits

Author SHA1 Message Date
Tirth Bodawala
2cbfeffd81 Add support for Web App Manifest in siteConfig (#934)
* Add support for Web App Manifest in siteConfig

* Update api-site-config.md

* Update api-site-config.md
2018-09-02 10:25:15 -07:00
Shubham Bansal
1a572757f1 feat: last updated time in docs (#913)
* 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
2018-08-29 21:15:18 +08:00
Laxman
cfabaedc99 Fix: conflicting strings issue in translations (#917)
* Fix conflicting strings issue in translations

* Preserve structure of `customTranslations`

* Use `deepmerge` to merge whole of `localized-strings`

* Simplify and make deep property access on an object safe

* Fix deep property accessor and rename it to idx
2018-08-29 00:04:02 +08:00
Joel Marcey
92f95df934
Update guides-translations.md for CircleCI 2.0
Ref: #350
2018-08-20 10:48:05 -07:00
Apurav Chauhan
acd4f3f984 Update getting started page to be more intuitive (#900)
* Updating step 2 to be more intuitive

Use of word Github is very confusing. When starting, most of devs wont have an existing github repo. And normally not everyone will be using Github. Since devs will be following this step by step: we need to stress on telling them to create a new or use existing local project folder which may or may not be a github repo.

* Update getting-started-installation.md
2018-08-13 01:29:45 -07:00
Yangshun Tay
d2b30dc3ed Revert "Add ability to specify sub categories in sidebar.json (#891)"
This reverts commit 16087b4428.
2018-08-06 18:58:54 -07:00
Will Brock
16087b4428 Add ability to specify sub categories in sidebar.json (#891) 2018-08-06 18:58:48 -07:00
Carol Willing
dd9d05c84d Clarify content in the site prep doc (#889) 2018-08-05 20:05:15 -07:00
Carol Willing
29e71ebf53 Update installation doc (#888)
* Update installation doc

* add short phrase
2018-08-05 15:45:24 -07:00
John Reese
75538395be Fix table of contents documentation typo (#873) 2018-07-27 11:07:56 +07:00
Fabrizio Ferri-Benedetti
a60fe1c052 Improve baseUrl documentation with an example (#863)
* Update with GH Enterprise instructions for baseUrl

* Update api-site-config.md

* simplify wordings
2018-07-20 22:33:27 +07:00
Steve Hook
22f3a85a49 add documentation regarding usage of nested docs + git ignore .idea (#860)
* add documentation regarding usage of nested docs + add .idea in .gitignore

* Remove 1.3.3, move to navigation & simplify wording

* add documentation for docusaurus >= v1.2.0 a well
2018-07-19 16:07:32 +07:00
Endilie Yacop Sucipto
aa1f82649c
Search correct language and version for Docusaurus (#859) 2018-07-18 17:39:04 +07:00
Yangshun Tay
1094dbd352
CSS revamp - Improve typography and overall styling (#757)
* Improve CSS code

* Fix blog layout

* Fix

* Refactor onPageNav

* More fixes

* Fix docs nav

* Use alternative hack

* Tweak clearfix
2018-06-19 21:46:15 -07:00
Andrey Rublev
850e3003ca [docs] add note about babel cache to upgrade guide (#778)
for details see https://github.com/facebook/Docusaurus/issues/759
2018-06-15 10:32:35 -07:00
Jonathan Ingram
58fba70dea Add config option for setting title of the blog sidebar (#770)
* Allow controlling the title of the blog sidebar

* Update guides-blog.md
2018-06-15 00:08:34 -07:00
=^._.^=
62a2c7c1a5 Add option to disable live reload server during development (#766)
* add option to disable live reload server

* change live to watch, fix incorrect argument parsing code

* Update api-commands.md
2018-06-14 23:51:03 -07:00
Joel Marcey
608e2c85a2
Move custom translation strings to its own file (#775) 2018-06-14 17:25:29 -07:00
Gustavo Henke
fd9a3ffb6d Cross repo publishing (#764) 2018-06-14 16:03:37 -07:00
Joel Marcey
de8da1ca54
Better bash formatting for updating Docusaurus 2018-06-11 17:46:58 -07:00
Joel Marcey
7281c5632b
More details on updating Docusaurus for a site 2018-06-11 16:53:04 -07:00
Joel Marcey
902db36edb
Fix broken search guide formatting 2018-06-10 17:37:43 -07:00
Tim Kelly
976df54419 Add back information about extra search options (#756)
I added back information about extra search options for Algolia. A previous commit removed the section about extra search options, but it appears the information might actually be useful.
2018-06-10 17:32:04 -07:00
Endilie Yacop Sucipto
c47af6be4b Enable custom meta description for custom pages (#752) 2018-06-10 09:35:30 -07:00
Yangshun Tay
18c01327a3 Reformat, proofread and tidy up docs (#749) 2018-06-10 08:02:04 -07:00
Yangshun Tay
ffe782a669
Remove outdated restriction for docs nesting (#746) 2018-06-10 01:21:06 -07:00
Endilie Yacop Sucipto
c8bc00a3a7 Enable using Prism for syntax highlighting (#735)
* 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
2018-06-09 11:38:01 -07:00
vacarsu
16da2fdbf6 Update getting-started-installation.md (#742)
* Update getting-started-installation.md

Add minimum yarn version

* Add a period

* Update getting-started-installation.md
2018-06-08 17:09:34 -07:00
Endilie Yacop Sucipto
d04b3ca87b Enable sub-directories in docs/ (#705) 2018-06-07 07:41:28 -07:00
Endilie Yacop Sucipto
31f0c27f81 Enable clean / extension-less url (#677) 2018-06-06 13:37:49 -07:00
Lespagnol Rémy
aee255219b Add a scroll to top button siteConfig option (#723) 2018-06-06 12:34:32 -07:00
ranolf
2bd9a148c1 Support publishing to Github Enterprise hosting (#689)
* Added support for Github Enterprise GH Pages

* Fixed with prettier output

* Tweak

* Tweak

* Tweak
2018-06-02 15:59:29 -07:00
Endilie Yacop Sucipto
e91e648844 Add Travis CI guide (#721) 2018-06-02 11:25:13 -07:00
Endilie Yacop Sucipto
fa20c93d5c Add documentation for setting title of custom pages (#712)
* add customtitle for page doc

* Update api-pages.md

* Update api-pages.md
2018-05-30 22:16:50 -07:00
Dongwoo Gim
5272944626 Fix typo error on Tips & Tricks (#708) 2018-05-28 21:17:30 -07:00
Yangshun Tay
454e3d359f
Update directory tree (#696) 2018-05-23 21:01:33 -07:00
Sébastien Loix
d14d3c2092 Add documentation about using development server behind a proxy #603 (#688)
* Add documentation to launch development server behind a proxy #603

* Update getting-started-installation.md

* Update getting-started-installation.md
2018-05-22 22:14:24 -07:00
Endilie Yacop Sucipto
aae106c018 Enable Facebook comments on blog posts (#673)
* Enable comment on blog post

* adjust css

* Tweak
2018-05-19 09:26:57 -07:00
Endilie Yacop Sucipto
f8521c2fe1 Enhance footer with Facebook and Twitter buttons (#666)
* 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
2018-05-17 21:26:06 -07:00
Endilie Yacop Sucipto
c730bc7bb7 Improve publishing guide on Github Pages (#664)
Docusaurus docs is confusing, it should be https://facebook.github.io/Docusaurus when referring to GitHub Pages URL, not the custom domain at https://docusaurus.io/
2018-05-15 18:55:42 -07:00
Joel Marcey
f315d02e58
Circle doc updates 2018-05-11 18:30:59 -07:00
Yangshun Tay
87a2392d6e Make CLI docs futureproof (#660) 2018-05-10 20:52:04 -07:00
Ahmad Alfy
ab6bab9f8d [Feature] Introducing image compression using imagemin (#654)
* Introduce imagemin for compressing images

* Replace original images with the optimized ones

* Add imagemin-svgo to dependencies

* Remove console statement, replace let with const

* Replace let with const

* Add --skip-image-compression

* Run Prettier
2018-05-09 16:59:36 -07:00
Erin Teo
5771549e75 Rename latestVersion to defaultVersion (#639)
* Rename lastVersion to defaultVersion

* Added defaultVersionShown to site-config doc

* Remove defaultVersionShown from siteConfig

* Update api-site-config.md
2018-05-05 17:24:39 -07:00
Matías Olivera
34d86f760b Fix assets directory path in "Tips & Tricks" (#630) 2018-05-03 08:16:15 -07:00
SoonaMata
0d7af296b5 Update documentation, add link for SSH key (#627)
Came across issue with SSH and added the link to help other beginners who may have the same issue.
2018-05-02 14:06:56 -07:00
Tim Carry
5afc0b0a1c Simplify DocSearch documentation (#624)
* Simplifying DocSearch documentation

I slightly rewrote the DocSearch documentation. The main three points are:

- I explained a bit more how DocSearch works (trying to explain that it's an external service that requires the website to be online)
- I removed mentions to the _search_ API key as in that case, it's always a _search_ (as opposed to _admin_) API key that is used
- I removed the part about faceting on the version. I thought it was confusing as without a specific UI to display the faceting, this won't do much. To use it properly, one will need to dig more into layouts. I might submit a PR about that later, but as it was today I think it would just create confusing rather that adding value

Hope that helps :)

* Make links URLs inline
2018-05-02 08:27:17 -07:00
Amit Harlev
a7b65bb6f4 Incorrect file path for netlify publishing (#622)
I tried following the guide to publish my website on Netlify (on April 29, 2018), however it did not work until I changed the path to include "website/".
2018-04-29 14:13:17 -07:00
Fabrizio Ruggeri
976ae770b5 Allow Google Analytics to use gtag.js (#601)
* Moved google analytics script to head

The code now uses the new gtag script to track the website on google analytics.
The migration is explained [here](https://developers.google.com/analytics/devguides/collection/gtagjs/migration).
This will help to solve issues such as #375.
As indicated at https://support.google.com/analytics/answer/1008080
the analytics code must be placed in the head tag, so it is moved there.

* Add a boolean to use the new gtag library

* Update api-site-config.md
2018-04-29 10:44:11 -07:00
Yangshun Tay
a9a39817d4
Use proper syntax highlighting for code blocks (#615)
* Better syntax highlighting

* Better syntax highlighting
2018-04-27 22:51:38 -07:00