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
Endilie Yacop Sucipto
767cd88d86
Update gitignore docusaurus-init ( #728 )
2018-06-06 12:07:22 -07:00
Joel Marcey
b56bb5aa27
Revert "Update static image assets ( #631 )" ( #632 )
...
This reverts commit 6bcc9e44a0
.
2018-05-03 12:20:37 -07:00
Yangshun Tay
6bcc9e44a0
Update static image assets ( #631 )
...
* Update static image assets
* Update image
2018-05-03 11:10:20 -07:00
Yangshun Tay
d7c093e241
Fix example site's user image path ( #605 )
2018-04-25 12:29:25 -07:00
Joel Marcey
71b5d46f46
Run prettier
2018-04-17 21:16:31 -07:00
Joel Marcey
fd04b44dda
Updates to the example site config
...
- Open Graph and Twitter Card images
- Enable on page navigation
- formtting
2018-04-17 21:14:01 -07:00
Joel Marcey
bc3eef1b00
Update siteConfig example and docs ( #544 )
2018-04-10 10:00:04 -07:00
Joel Marcey
fc051acde5
Fix .gitignore placement when running example script or docusaurus-init ( #533 )
...
Fixes #415
2018-04-08 07:35:35 -07:00
Yangshun Tay
e19b9ac56e
Add rel="noreferrer noopener" to <a> with target="_blank" ( #531 )
...
* Add rel="noreferrer noopener" to <a> with target="_blank"
* Run Prettier
2018-04-07 19:14:28 -07:00
Amy Lam
c2cd169b64
Add alt tags to images for a11y ( #529 )
...
- Add imageAlt to GridBlock
- Set alt equal to `user.caption` for mapped users
- Set alt equal to `post.author` for blog posts
- Update documentation
2018-04-07 19:13:12 -07:00
Happy-Ferret
37c699e8bd
Use siteConfig properties inside Example pages ( #497 )
...
Replace hardcoded values inside "footer",
"help" and "users" with properties
from siteConfig.
Fixes #488
2018-03-16 14:07:09 -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
Aimee Pierce
8c2145585c
support optional siteConfig.users ( #484 )
...
Fixes Issue #402 caused by removing optional users array from siteConfig file. Users array is now validated before using its properties.
2018-03-07 14:21:12 -08:00
Joel Marcey
edbb869e26
Add more details on configurable fonts ( #409 )
2018-01-21 20:10:04 -08:00
ppatel221
7864e1b329
Update doc2.md ( #366 )
2018-01-11 16:38:20 -08:00
Richard Zhang
a5e963dba1
Issue 305 broken link because of language fixes ( #322 )
...
* without having having to worry about site design.
Let me know if double having is intentional
* distinguish case of no translation and en lang
* prettier recommends
* distinguish case of no translation and en lang
* prettier recommends
* merge with latest origin/master changes
* typo
* link with language fixes
* do not show language dropdown if only one enabled
* check translation outside of LanguageDropDown.render
2017-12-19 17:44:43 -08:00
Joel Marcey
18c9a2ab31
Revert "Fixing Issue 305 - broken links because of language ( #316 )"
...
This reverts commit 7dc6c6c2da
.
2017-12-19 09:23:41 -08:00
Richard Zhang
7dc6c6c2da
Fixing Issue 305 - broken links because of language ( #316 )
...
* without having having to worry about site design.
Let me know if double having is intentional
* distinguish case of no translation and en lang
* prettier recommends
* distinguish case of no translation and en lang
* prettier recommends
* merge with latest origin/master changes
* typo
2017-12-19 09:20:32 -08:00
Joel Marcey
9c7836979f
Fixes from prettier
...
Yeah, we should get this running apriori for pull requests :)
2017-12-18 09:29:45 -08:00
António Afonso
829508797e
A bunch of tiny little fixes for issues I found while setting up docusaurus ( #312 )
...
* Do not show users related UI if no users have been specified
* Fixed typo in Docusaurus homepage link
* Allow projects without icons
Not every project has an icon, so avoid showing a broken image in that case.
* Do not show project icon in the footer if there's no footer icon
2017-12-18 09:26:33 -08:00
Joel Marcey
ef8ee5bf6c
Run Prettier
2017-12-17 16:10:23 -08:00
Richard Zhang
73c6da0b8f
Index page composition ( #293 )
...
* without having having to worry about site design.
Let me know if double having is intentional
* index page composition
2017-12-17 16:07:11 -08:00
Joel Marcey
d6fb14cfa4
Add introductory blog post ( #279 )
...
* Add introductory blog post
For launch!
\o/
* Update post to launch date
* Add ogImage and fix how we get og:Description
Plus a few updates to the post
* Remove some code block info
2017-12-14 09:32:49 -08:00
Eric Nakagawa
fd835116ee
Add dummy siteConfig.js for deploying, fixed indendation on publishing file ( #285 )
2017-12-13 15:59:43 -08:00
Joel Marcey
d33489cf16
Update example URLs
2017-12-13 15:37:46 -08:00
Joel Marcey
eb3a40a2cb
Put some example doc in code block
2017-12-11 17:16:04 -08:00
Joel Marcey
d4d17f0b01
Update Example doc with Lorem Ipsum
...
The actual words there were out of date.
Refer to the documentation instead
2017-12-11 17:00:52 -08:00
Héctor Ramos
65421db62e
Add Prettier Formatting ( #258 )
...
* Add Prettier formatting to source files and example files, and check that Prettier formatting is maintained on PRs
* Remove trailing-comma as we are using Node 6 on Circle
* Use latest Node 6 LTS version in Circle
* Remove unused test
2017-12-04 19:21:02 -08:00
Héctor Ramos
fbcbaa52d3
Fix GitHub Button ( #201 )
2017-10-31 08:46:39 -07:00
Héctor Ramos
09354ab738
[BREAKING] Rename Marked to MarkdownBlock ( #162 )
...
* 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
* Rename Marked to MarkdownBlock
* Rename Marked to MarkdownBlock
* Remove Marked.js
2017-10-30 15:47:13 -07:00
Eric Nakagawa
fa1ec70432
Bug fixes in generatejs ( #169 )
...
* Misc cleanups related to console.log messages in yarn build
* Fixes https://github.com/facebookexperimental/Docusaurus/issues/96
2017-10-26 16:13:56 -07: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
Joel Marcey
77535d80f2
The complete move to MIT license ( #115 )
...
- headers in .js files
- update README and LICENSE year
Testing:
grep BSD, Patents, patents turned up nothing
2017-10-05 11:14:49 -07:00
Eric Nakagawa
3b5db4bbf8
2 bug fixes ( #98 )
...
* Merge fix
* Updating lock file.
* Bug fix for rss feed truncation...
* Fixes infinite recursive loop for #89
* Removed use of module cache invalidator from feed.js
* Replaced 'latest' babel presets with 'env'
* Ignore temp build folder
* Adding back new truncation logic for RSS
* Updating yarn lock
2017-09-28 14:46:29 -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
Eric Nakagawa
92ce92ee59
Merge pull request #91 from facebookexperimental/rickyvetter-patch-2
...
Fix link for logo
2017-09-26 13:41:13 -07:00
Ricky Vetter
c72da0c225
Fix link for logo
...
On projects where baseUrl is "/", the extra slash causes issues.
2017-09-25 23:08:06 -07:00
Eric Nakagawa
a86af92e7c
Remove customCssFileName as any css file in /static/css gets appended to end of main.css
2017-09-25 11:35:35 -07:00
Eric Nakagawa
f48ff77322
Merge pull request #81 from ericnakagawa/master
...
Several Docusaurus, Website changes and enhancements.
2017-09-25 11:35:12 -07:00
Eric Nakagawa
c0109192b1
Update urls, modified starter example custom css, added it to Docusaurus website
2017-09-22 13:23:27 -07:00
Eric Nakagawa
0dce734a1d
Rearrange custom.css line
2017-09-22 11:42:19 -07:00
Eric Nakagawa
9c6fe348d6
Add support for a custom CSS file that is configurable from siteConfig.js
2017-09-22 11:31:29 -07:00
Ricky Vetter
2c108d36cb
Use project title for example ( #84 )
...
Small change to keep the example file usable for whichever project it's inserted into.
* do baseUrl too
2017-09-22 06:58:07 -07:00
Eric Nakagawa
8e9808c0f4
Re-arranging of files to move localized base files in /docs from /docs/en, updates to template crowdin.yaml, update to package.json to make calling crowdin easier. Updating documentation to reflect.
2017-09-21 08:36:30 -07:00
Frank Li
999187889e
Fix examples gitignore
2017-08-16 15:02:48 -07:00
Frank Li
9e412f6bd7
Remove license headers from example files ( #68 )
2017-08-16 13:41:20 -07:00
Frank Li
43d2eb14c2
Merge branch 'update-examples' of https://github.com/facebookexperimental/Docusaurus into update-examples
2017-08-10 16:22:15 -07:00
Frank Li
aac1033fa1
Add example .gitignore file
2017-08-10 16:21:51 -07:00