Commit graph

957 commits

Author SHA1 Message Date
Endilie Yacop Sucipto
39b77935c4
chore: add documentation issue template 2018-09-05 10:24:58 +08:00
Hilu luke
969399c6c5 Enable passing attributes to scripts and links (#937) 2018-09-03 15:46:55 -07:00
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
endiliey
f1daddb5f9 fix: headernav linking to custom page should check if translation is enabled 2018-09-02 17:11:34 +08:00
Jaril Valenciano
e613725a25 Fix button wrapping behavior on mobile (#921)
* fixed button wrapping behavior

previous+next buttons with long text now stack properly on smaller screens

* truncates function/component names of prev/next buttons

Function/component names are truncated, while regular titles are wrapped

* removed unused styles

* fixed using idx (safe getter) for previous/next titles

passed through prettier and all tests pass
2018-09-01 22:45:32 -07:00
Jaril Valenciano
7987e66bed Add new README.md for new Docusaurus projects (#930)
* added new readme.md

* Update README.md
2018-09-01 13:50:57 -07:00
Yangshun Tay
421d9b03de Add Bowler to users (#933) 2018-08-30 15:09:40 -07:00
Endilie Yacop Sucipto
88904ab37b
fix: headerNav should link to 'blog/', not 'blog' for consistency (#931)
fix: headerNav should link to 'blog/', not 'blog' for consistency
2018-08-30 19:40:53 +08: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
nchanged
5542ace288 docs: added FuseBox to users (#927) 2018-08-29 09:20:19 +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
Endilie Yacop Sucipto
d18b09954b Fix: transformation of url to cleanUrl / pretty url (#923)
* fix: pretty url should only remove html extension

* cleanUrl of '/index.html' should be '/'
2018-08-27 21:09:50 -07:00
Jaril Valenciano
ba76eddc87 Convert Docusaurus banner image into SVG (#915)
* replaced readme header image

Changed from .PNG to .SVG to eliminate blurriness on high-resolution screens

* compressed header .SVG

* Replaced header image in blog post

Blogpost: Introducing Docusaurus
2018-08-25 12:44:28 -07:00
Endilie Yacop Sucipto
2fa67bbc13
v1.3.3 (#912)
* v1.3.3

* nits changelog

* run npm update & yarn update

* run prettier
2018-08-23 11:48:44 +08:00
Mikalai Silivonik
6004fef658 fix: strict css/main.css routing (#904) 2018-08-22 16:38:44 +08:00
Miralem Drek
890054802d Fix console error when onPageNav !== 'separate' (#909) 2018-08-21 10:00:04 -07:00
Joel Marcey
92f95df934
Update guides-translations.md for CircleCI 2.0
Ref: #350
2018-08-20 10:48:05 -07:00
Julien Odent
0a3f0ecdc5 Renamed Sonar to Flipper (#905)
* Noticed caption was "Sonar" but redirecting to https://fbflipper.com.
* Fixed caption and renamed files for consistency.
* Moved project after FastText to keep alphabetical ordering.
* Ran prettier and included changes.

Test plan:
  npm run test && npm run prettier && npm run lint

  cd website && npm run start

Noticed projects are rendered properly and caption is now "Flipper".
2018-08-17 09:39:20 -07:00
Seven Du
e79e67ad2b Add Plus (ThinkSNS+) to users (#903)
* Add Plus(ThinkSNS+) using user link

https://github.com/slimkit/plus

* Add files via upload

* readme Plus logo filename

* Update users.js
2018-08-14 01:09:28 -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
endiliey
5e5488f1ea chore: update changelog 2018-08-12 23:59:41 +08:00
Yong-Siang Shih
8de57b5c0c fix: add baseUrl to sitemap URLs (#902) 2018-08-12 18:49:45 +07:00
Endilie Yacop Sucipto
8f9f7a5602 Fix correct linking when setting defaultVersionShown to non-latest version (#894) 2018-08-10 23:49:52 -07:00
Tom Auger
3f896c8e18 Fix Jest tests that fail on Windows (#896)
* Fix failing tests

* Suppress build output in build tests
2018-08-10 22:21:52 +07:00
Carol Willing
e27e18bd63 Add nteract project as a user (#890)
* add nteract project as a user

* correct extra line feed
2018-08-06 20:38:34 -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
Endilie Yacop Sucipto
5fae14a2bf
fix: copy static image as it is if image compression fail (#887)
* fix: fail to copy static image due to image compression on build

* add changelog
2018-08-04 22:40:36 +08:00
jess
ef80581e8e Activating Open Collective (#883) 2018-08-03 18:25:57 -07:00
Endilie Yacop Sucipto
89980bc10d
chore: update prerelease.sh & prerelease.md (#886) 2018-08-03 20:24:09 +08:00
Endilie Yacop Sucipto
edb364ad02
chore: update jest to v23 (#885)
* chore: update jest to v23

* add changelog
2018-08-03 17:08:51 +08:00
Endilie Yacop Sucipto
18158d6abc
fix: truncate blogpost properly with truncate-html (#880)
* fix: truncate blogpost properly with truncate-html

* revert test file change

* chore: truncate blogpost for feed changelog
2018-08-02 15:16:26 +08:00
Endilie Yacop Sucipto
609e1b42e7
chore: update changelog (#882)
* chore: update changelog

* nits
2018-08-02 03:00:16 +08:00
Endilie Yacop Sucipto
3971f803bc
chore: add prerelease script (#876)
* chore: add prerelease script

* Update prerelease.md

* Update prerelease.sh

* Update prerelease.sh

* chore: address review

* update instruction

* alias 'run version' to make it clear we're running docs version

* indicate that we are creating commit, not pull request

* update asciinema preview

* nits
2018-08-02 01:10:11 +08:00
Endilie Yacop Sucipto
42a96696a4
chore: delete unused/ old file (#881) 2018-08-02 00:52:50 +08:00
Joel Marcey
3c1363da1b
Update CODE_OF_CONDUCT.md 2018-07-31 19:49:46 -07:00
Chaoyu
326570d79e Add atalaya.io to users (#878) 2018-07-30 22:35:05 -07:00
Endilie Yacop Sucipto
a6db22b6ff
support 'text' language for no syntax highlighting (#875) 2018-07-28 00:55:27 +07:00
John Reese
75538395be Fix table of contents documentation typo (#873) 2018-07-27 11:07:56 +07:00
Drew Ballance
0c09cc01cb Correct Prism CSS class for code blocks (#870)
* Correct Prism CSS class for code blocks

* remove prism css theme that conflicts hljs theme
2018-07-25 13:00:17 +07:00
Endilie Yacop Sucipto
afec4bd47c
Refactor(server): share logic between server.js & generate.js (#856)
* nits too many comments

* Refactor to blog.getPages

* Refactor to getPost, fileToUrl, urlToFile

* Refactor redirectcomponent generation for docs

* nits & fix typo

* Refactor to blog.getMetadata

* Add test for getMetadata, fileToSUrl and urlToSource

* use includes() and add 'markup' naming for function
2018-07-24 13:37:52 +07:00
machiko
bbfb4b09cb Add Reaction Commerce to users (#869)
* add reaction commerce to users

* add reaction-commerce.svg

* Rename reaction-commerce.svg to img/users/reaction-commerce.svg

* Rename img/users/reaction-commerce.svg to website/static/img/users/reaction-commerce.svg
2018-07-23 17:32:21 -07:00
Sashank Thupukari
d3417b3bf2 Add autoprefixing to CSS pipeline (#867)
Add [autoprefixer](https://github.com/postcss/autoprefixer) as a final build step in the CSS pipeline.
2018-07-22 00:05:13 -07:00
Endilie Yacop Sucipto
d42ecb943f
Don't replace static assets linking in fenced code blocks (#864)
* Don't replace any relative links to static assets in a fenced code block

* revert unintended docs change

* improve regex

* remove test file :sob

* stronger regex test for replace assets

* super simplify solution
2018-07-21 20:54:45 +07:00
Endilie Yacop Sucipto
53993f1ba6 More attractive README introduction (#866)
* Better readme :)

* Update README.md
2018-07-20 11:13:02 -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