Amy Lam
57cddb4d08
Allow customizing of blog author image URL documentation ( #577 )
...
* Rename authorImage to authorImageURL for clarity
Update documentation
* Fix typo
* Add documentation for authorImageURL
* Add support for authorImage
We will remove support for authorImage in favor of authorImageURL, after we remove authorImage from react-native-website
* Update guides-blog.md
* Update guides-blog.md
2018-04-17 23:15:27 -07:00
Joel Marcey
71b5d46f46
Run prettier
2018-04-17 21:16:31 -07:00
Joel Marcey
47d08bf1da
Update site config example in docs
2018-04-17 21:15:50 -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
e738bbd99e
Add twitterImage
to siteConfig options ( #580 )
2018-04-17 21:04:39 -07:00
Amy Lam
f0197700c5
Add table to clarify versioning ( #573 )
2018-04-17 09:53:35 -07:00
Yangshun Tay
b23b0def1d
Fix CSS media queries ( #576 )
2018-04-17 09:47:04 -07:00
Sviatoslav
1642c078a7
Support for non-latin characters in heading anchor links ( #492 )
2018-04-17 09:33:10 -07:00
Yangshun Tay
ba024a25c7
Fix search bar width for mobile nav ( #575 )
...
* Shorten search bar width for mobile nav
* Remove min-device-width
* Use max-width
2018-04-17 08:17:20 -07:00
Yangshun Tay
159b80df94
Use cssnano to minify main CSS file ( #569 )
...
* Add cssnano to CSS generation
* Add babel-polyfill
* Call cssnano at the end
* Fix tests
* Add babelrc
2018-04-16 21:31:01 -07:00
Yangshun Tay
946e2cef90
Add <doctype HTML> to HTML pages ( #566 )
...
* Add doctype to static rendering
* Set content-type for CSS
2018-04-15 15:50:43 -07:00
Yangshun Tay
0593ea0039
Switch off Espanol translations ( #565 )
2018-04-14 20:12:58 -07:00
Yangshun Tay
6d31fba043
Use code block for CompLibrary props ( #563 )
2018-04-14 13:24:41 -07:00
Kaveh Khorram
a9f8701456
Added HTML tables to documentation page to improve UX ( #514 )
2018-04-14 13:05:26 -07:00
Zoltan Kochan
e2b8fa7aef
Fix(deps): add mkdirp to package.json ( #471 )
...
mkdirp is used throughout the project.
This works because npm and Yarn create flat node_modules.
Docusaurus fails though with pnpm, which creates a strict
node_modules.
2018-04-14 10:47:41 -07:00
Kyle Roach
de11050df1
Add react-native-elements to users ( #562 )
2018-04-14 09:52:52 -07:00
Limon Monte
858b6f347f
Fix body height by changing CSS height property to min-height ( #556 )
2018-04-13 08:40:58 -07:00
Joel Marcey
86edbec1d0
Split out @generated string ( #553 )
...
Nuclide treats files with @generated as read-only. This can fix that.
2018-04-12 14:11:01 -07:00
Joel Marcey
3486e1113f
Add versioning to docusaurus.io ( #552 )
2018-04-12 11:28:00 -07:00
Joel Marcey
257b5c9ebd
Publish Docusaurus v1.0.11 ( #551 )
2018-04-12 09:50:16 -07:00
Joel Marcey
001eae7003
Update the initial blog post clarifying JS/React vs Jekyll
2018-04-12 09:11:36 -07:00
Joel Marcey
0e3f3e3013
Fix header nav display for current language ( #550 )
...
Even if we were on Spanish pages, it still showed English in the Header nav.
This makes it so that the Header nav shows the currently selected language.
2018-04-12 08:45:02 -07:00
Joel Marcey
1c94060447
Add translations to Circle config ( #549 )
2018-04-12 08:34:27 -07:00
Sam Brown
f253307f72
Small sentence change in blog post ( #547 )
2018-04-12 08:13:22 -07:00
Joel Marcey
4f669ccca2
Enable Translations for docusaurus.io ( #548 )
...
There are some translations for Spanish for Docusaurus -- not complete, but still a good start to enable for our site.
I figure it is time to enable all the crucial features that the project provides for its main site, huh? 😄
2018-04-12 08:10:41 -07:00
Joel Marcey
2779bf3d0f
Add Users to the header
2018-04-11 19:21:02 -07:00
Joel Marcey
5f89af927a
Add BlueWhale as a user ( #546 )
2018-04-11 19:18:10 -07:00
Joel Marcey
71278431f1
Add hide_title to metadata check whitelist
2018-04-11 18:02:25 -07:00
Joel Marcey
c9cedfe923
Remove rogue yarn-error.log
2018-04-11 17:58:53 -07:00
Jason Gauci
6dd6ead19f
Add hide_title metadata that hides the title text on the top of the doc ( #540 )
2018-04-11 17:56:56 -07:00
António Afonso
ad5b8b92b4
Ignore and warn about unsupported header fields ( #347 )
...
Unsupported header fields might mess up the creation of metadata.js (e.g.: next).
Skip unknown header fields and log a warn about them.
2018-04-11 17:45:03 -07:00
Amy Lam
8e2717cfae
Cleanup code markdown in guides versioning ( #545 )
2018-04-11 00:04:07 -07:00
Yangshun Tay
1db939b119
Revert yarn prettier addition in yarn ci-check ( #543 )
2018-04-10 10:30:29 -07:00
Joel Marcey
bc3eef1b00
Update siteConfig example and docs ( #544 )
2018-04-10 10:00:04 -07:00
Kaveh Khorram
bbbe311004
Dynamic port switching ( #516 )
2018-04-10 08:48:44 -07:00
Amy Lam
80ece69a10
Add form field title for a11y ( #542 )
...
* Add input title to improve a11y
Resolves pa11y error:
```
• Error: This form field should be labelled in some way. Use the label element (either with a "for" attribute or wrapped around the form field), or "title", "aria-label" or "aria-labelledby" attributes as appropriate.
├── WCAG2AA.Principle1.Guideline1_3.1_3_1.F68
├── #search_input_react
└── <input type="text" id="search_input_react" placeholder="Search" aria-label="Search" class="aa-input" autocomplete="off" spellcheck="false" role="combobox" aria-autocomplete="list" aria-expanded="false" aria-labelledby="search_input_react" aria-owns="...
```
* Fix Prettier failure on Circle CI
2018-04-10 08:46:08 -07:00
Joel Marcey
71317e49ba
Publish Docusaurus v1.0.10 ( #538 )
2018-04-09 12:06:40 -07:00
Yangshun Tay
099875a01a
Display CompLibrary component in tabular format ( #537 )
2018-04-08 20:22:13 -07:00
Yangshun Tay
90d8e17158
Document className prop of GridBlock ( #536 )
2018-04-08 19:37:38 -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
6500f9bacf
More doc improvements ( #532 )
...
* Generic doc improvements
* Convert to Markdown
* Remove whitespace
* More typo fixes
2018-04-07 21:16:29 -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
John Eismeier
fc6e3b7311
Fix two typos ( #530 )
2018-04-06 10:26:31 -07:00
Elian Ibaj
c437f7be37
Use markdown-toc ( #524 )
2018-04-04 10:19:03 -07:00
Yangshun Tay
632ccfb8cd
Fix typo and formatting in docs ( #523 )
2018-04-03 18:51:51 -10:00
Elian Ibaj
1a674885ae
Fix body class ( #521 )
2018-03-28 10:55:00 -07:00
Joel Marcey
b6c6c2e4b8
colon in publishing example
2018-03-19 15:28:36 -07:00
Joel Marcey
1345504544
Publishing example indentation
2018-03-19 14:56:10 -07:00
Ujjwal Sharma
d16d2aa4b3
Fix problems with a horizontal scrollbar ( #518 )
2018-03-19 08:45:53 -07:00