Commit graph

47 commits

Author SHA1 Message Date
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
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
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
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
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
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
huang.xinghui
aa32ff4a55 Add customize highlight.theme custom path support (#517)
* add themeUrl option to support custom theme file path

* Update api-site-config.md
2018-04-19 08:04:49 -07:00
Joel Marcey
47d08bf1da
Update site config example in docs 2018-04-17 21:15:50 -07:00
Joel Marcey
e738bbd99e
Add twitterImage to siteConfig options (#580) 2018-04-17 21:04:39 -07:00
Joel Marcey
bc3eef1b00
Update siteConfig example and docs (#544) 2018-04-10 10:00:04 -07:00
Yangshun Tay
632ccfb8cd Fix typo and formatting in docs (#523) 2018-04-03 18:51:51 -10:00
Joel Marcey
ce4d2f02b2
Add link to Facebook Pixel page 2018-03-14 18:05:17 -07:00
Pablo Estevez
508090377e Add Facebook Pixel ID setting (#507) 2018-03-14 18:01:23 -07:00
Joel Marcey
d2f414c5d3
Add more docs for Algolia 2018-03-12 16:49:21 -07:00
Joel Marcey
f1893d5fea
Add secondary, page-specific navigation documentation (#498)
And enable for docusaurus.io
2018-03-12 16:27:37 -07:00
Miralem Drek
a8d7299ef2 Add ogImage to site-config docs (#487)
Fixes #451
2018-03-07 13:10:32 -08:00
Joel Marcey
f093790947
Add blogSidebarCount to the site config Docs (#480) 2018-02-28 16:32:59 -08:00
Ozan Araz
0da690db57 Organize siteConfig.js options documentation page better #436 (#437) 2018-02-06 08:03:50 -08:00
Joel Marcey
62893dfe28
Add some more information around wrapPagesHTML (#426) 2018-01-31 19:53:50 -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
Filip Danić
65085b1337 document changes from PR #206 (as per issue #212) (#380) 2018-01-08 08:22:46 -08:00
Ricky Vetter
d79ff9eaf0 add docs for wrapPagesHTML (#332) 2017-12-20 10:35:50 -08:00
Thomas Broadley
b5fefcc676 docs: fix typos (#327) 2017-12-19 21:39:18 -08:00
Joel Marcey
83e8802d01 Add description for useEnglishUrl 2017-12-19 21:35:24 -08:00
Joel Marcey
317fa99572 Add social buttons at the bottom of blog posts.
Also, update the siteConfig api docs
2017-12-13 20:10:27 -08:00
Joel Marcey
d33489cf16 Update example URLs 2017-12-13 15:37:46 -08:00
Joel Marcey
ef6f550700 Replace facebookexperimental with facebook (#266)
Moving to the facebook GitHub org
2017-12-07 10:52:12 -08:00
Héctor Ramos
31b70f053c Update docusaurus-publish (#250)
* Update publish script to allow configuration via siteConfig.js file, as well as non-CircleCI env vars

* Use || instead of |
2017-12-04 09:15:32 -08:00
Christopher Chedeau
c407cdf96f Enable stylesheets as a parallel to scripts (#225)
* Enable stylesheets as a parallel to scripts

Also moves the scripts above the custom stylesheet to follow the comment :)

* Update api-site-config.md
2017-11-13 17:54:24 -08:00
Eric Nakagawa
8d14f8fb02
Merge pull request #217 from JoelMarcey/custom-docs-subdir
Allow custom path for the location of documentation
2017-11-13 13:50:39 -08:00
Christine Abernathy
522e59d739 Add cname to config doc (#222) 2017-11-10 15:00:53 -08:00
Joel Marcey
e273dfc13b Allow the docs not to just be in a folder called docs
Also:
- regex escaping
- update api documentation
2017-11-09 09:55:26 -08:00
Héctor Ramos
ba666cc6ae Remove sourceCodeButton config key (#181) 2017-10-26 12:16:36 -07:00
Héctor Ramos
b832176dc6 [markdown] Switch to Remarkable (#153)
* Switch to Remarkable
* Clean up references to custom code blocks
* Remove valdiateDOMNesting warning
* Add syntax highlighting
* Add Reason support
* Breaking change: prismColor to codeColor, remove CompLibrary.Prism, expose hljs
* Completely remove Prism and associated CSS rules
* Support loading plugins and scripts
* Remove CSS rules, allowing Highlight.js theme to be used entirely
* Remove unnecessary webplayer script
2017-10-24 09:45:21 -07:00
Eric Nakagawa
bcba05ae03 Adds sitemap.xml. Adds 'Help Translate' to translatable strings. Error messages and fn name cleanups. (#136)
* added a note about needing more than one language to be enabled to allow for a drop down

* Removing debug statements

* Add 'Help Translate' to translatable strings, improves error messages around missing translated strings, calls write-translations on some routes

* Adds sitemap.xml to live server and build. Versioning not supported. -- Also did some file name and module cache cleanups.
2017-10-18 12:55:58 -07:00
Ricky Vetter
768ed88978 Add option to avoid indexing site (#142) 2017-10-18 11:35:30 -07:00
Ricky Vetter
9c7d8e55a9 add sourceCodeButton to site config (#93) 2017-10-03 15:20:35 -07:00
Eric Nakagawa
dc835770a0 RSS/ATOM Feed added, Prism changes, and global Copyright notice. (#94)
* Add Reason support to Prism.js

* Add XML/ATOM feed. Generates for both localhost and build script. Adds meta links to feeds to all html files.

* Updated /core/Footer.js to pull from siteConfig
2017-09-27 12:49:09 -07:00
Frank Li
469593a55e Update siteConfig doc 2017-08-17 11:08:17 -07:00
Frank Li
5f09602440 Rename documents 2017-08-15 14:07:02 -07:00
Renamed from docs/site-config.md (Browse further)