Yangshun Tay
e8e3f42685
ESLintify Part 1 ( #837 )
...
* ESLint-ify
* Allow empty try/catch
* Escape regexp
2018-07-08 09:13:18 -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
Endilie Yacop Sucipto
31f0c27f81
Enable clean / extension-less url ( #677 )
2018-06-06 13:37:49 -07:00
Amy Lam
873a2427f9
Remove authorImage ( #652 )
...
authorImage was replaced by authorImageURL in https://github.com/facebook/Docusaurus/pull/577
authorImage was removed from react-native-website in https://github.com/facebook/react-native-website/pull/314
authorImage was undocumented, so no docs changes
2018-05-07 23:58:52 -07:00
Yangshun Tay
8d676e6a5a
Extract blog post truncation logic and add tests ( #640 )
2018-05-06 09:15:18 -07:00
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
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
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
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
c2243a3c20
Only show 'Read More' button on blog list page when post has <!-- truncate --> token ( #161 )
...
* Only show 'Read More' button on blog list page when the text includes a <truncate> token
* Remove console.log
2017-10-24 13:46:42 -07:00
Ricky Vetter
fd05bb3239
More consistent headers ( #140 )
...
* More consistent headers
* Clean up mobile blog posts styles
2017-10-18 13:04:29 -07:00
Ricky Vetter
e466c60481
Remove author name when unused ( #131 )
2017-10-18 09:52:23 -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
Héctor Ramos
45f6ef8fd9
Blog enhancements ( #80 )
...
* Small CSS adjustments.
* Blog adjustments.
* Add support for Prism in the blog
2017-09-25 12:53:54 -07:00
Frank Li
43ef3c8142
Add comments
2017-08-15 16:55:38 -07:00
Frank Li
fbae29b0ff
Run Prettier
2017-07-10 16:38:35 -07:00
Joel Marcey
e3139eea2f
Initial commit
2017-07-07 10:28:29 -07:00