Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation: Try a new custom documentation tool to rule them all #1786

Merged
merged 56 commits into from
Jul 10, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
84631f8
Documentation: Try a new custom documentation tool to rule them all
youknowriad Jul 7, 2017
92b72c9
Documentation: Adding Previous/Next Page links
youknowriad Jul 8, 2017
4079c80
Documentation: Parsing markdown blocks (code blocks)
youknowriad Jul 8, 2017
05ffe5d
Documentation: Fix the doc tool title and metadata
youknowriad Jul 8, 2017
ba87d66
Documentation: Drop dashicon expand icon for now
youknowriad Jul 8, 2017
806e64e
Documentation: Drop unnecessary markup from the documentation tool
youknowriad Jul 8, 2017
c2c45b0
Documentation: Drop unnecessary folder nesting
youknowriad Jul 8, 2017
43b7584
Documentation: Fix the doc tools eslint issues
youknowriad Jul 10, 2017
8b7a51b
Documentation: Simplify the CLI API and rename the folder to glutenberg
youknowriad Jul 10, 2017
67e454b
Documentation: SEO friendly using React-Snapshots
youknowriad Jul 10, 2017
658b0db
Unignore docs from ESLint
aduth Jul 10, 2017
6ea5d08
Documentation: Style active code tabs
youknowriad Jul 10, 2017
a7749ed
Documentation: Adding heading anchors
youknowriad Jul 10, 2017
817ad44
Documentation: Overwriting Storybook with the new docs
youknowriad Jul 10, 2017
50c266e
Documentation: Rename "glutenberg" to "docutron"
youknowriad Jul 10, 2017
a308cd1
Enable HTML in Markdown parser
aduth Jul 10, 2017
2177d45
Documentation: reset scroll on page change
youknowriad Jul 10, 2017
e0fa344
Add initial pass at documentation (blocks tutorial, glossary)
aduth Jul 10, 2017
8de4da4
Retitle FAQ as Frequently Asked Questions
aduth Jul 10, 2017
916a1cc
Merge branch 'try/new-docs-tool' of https://github.com/WordPress/gute…
aduth Jul 10, 2017
8d0a1b6
Documentation: Better Prism integration
youknowriad Jul 10, 2017
98124bb
Include coding guidelines and design principles in docs
aduth Jul 10, 2017
136ed1e
Fix links in reference landing page
aduth Jul 10, 2017
19199c8
Include coding guidelines and design principles in docs
aduth Jul 10, 2017
f31d963
Correct ESNext plugin namespace
aduth Jul 10, 2017
2b6d13d
Documentation: Deploy only on master
youknowriad Jul 10, 2017
5ed1d73
Move page title to header component
aduth Jul 10, 2017
15651f3
Extend ESLint configuration to restore React pragma
aduth Jul 10, 2017
d0e3075
Renove ESLint ignore for unused vars
aduth Jul 10, 2017
4f85e55
Remember preference on code tabs
aduth Jul 10, 2017
4ccfd10
Documentation: Fix indentation in CRA files
youknowriad Jul 10, 2017
dca4791
Documentation: Filter Documentation Menu
youknowriad Jul 10, 2017
6c2135e
Remove lingering references to storybook
aduth Jul 10, 2017
2fd0491
Ignore node_modules everywhere for ESLint
aduth Jul 10, 2017
5c920dc
Move Docutron specific env settings to docutron configuration
aduth Jul 10, 2017
d82e544
Fix Travis before_deploy docs build script name
aduth Jul 10, 2017
e7a5d9d
Move markdown-it-anchor dependency to docutron
aduth Jul 10, 2017
24352de
Replace markdown-it-anchor with 'markdown-it-toc-and-anchor
aduth Jul 10, 2017
c9af12b
Use store to get and set tabs preference
aduth Jul 10, 2017
13da631
Fix incorrectly relative external links
aduth Jul 10, 2017
7dacc1d
Hide anchor link in top-level heading
aduth Jul 10, 2017
3cb064c
Generate files as index.html in nested directory
aduth Jul 10, 2017
740e21e
Documentation: Support overriding the default docs folder
youknowriad Jul 10, 2017
e0d7aa1
Documentation: Using the External/Internal dependencies comments
youknowriad Jul 10, 2017
ad149a6
Fix references to accompanying examples plugin
aduth Jul 10, 2017
1305eec
Specify Docutron version
aduth Jul 10, 2017
f8f4a76
Documentation: Drop eslint-disable-comment
youknowriad Jul 10, 2017
6852f23
Use GitHub Pages for publishing documentation
aduth Jul 10, 2017
3346367
Extract components to separate files
aduth Jul 10, 2017
5845a09
Rename components as lowercase
aduth Jul 10, 2017
794ba47
Fix typo in stylesheet ESNext example
aduth Jul 10, 2017
47ceaa2
Fix import reference to app component
aduth Jul 10, 2017
891e90b
Apply rel on navigation links
aduth Jul 10, 2017
62f769e
Remove service worker registration
aduth Jul 10, 2017
d6e18e3
Rename extendsConfig to extendConfig
aduth Jul 10, 2017
38d0c0e
Prevent search form submission
aduth Jul 10, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
build
coverage
docs
vendor
node_modules
4 changes: 2 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
"plugin:react/recommended",
"plugin:jsx-a11y/recommended",
"plugin:jest/recommended"
],
],
"env": {
"browser": false,
"es6": true,
"node": true,
"mocha": true,
"jest/globals": true
},
},
"parserOptions": {
"sourceType": "module",
"ecmaFeatures": {
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
build
coverage
node_modules
storybook-static
gutenberg.zip

# Directories/files that may appear in your environment
Expand Down
2 changes: 0 additions & 2 deletions .storybook/addons.js

This file was deleted.

43 changes: 0 additions & 43 deletions .storybook/config.js

This file was deleted.

15 changes: 0 additions & 15 deletions .storybook/stories/coding-guidelines.js

This file was deleted.

15 changes: 0 additions & 15 deletions .storybook/stories/contributing.js

This file was deleted.

15 changes: 0 additions & 15 deletions .storybook/stories/design.js

This file was deleted.

15 changes: 0 additions & 15 deletions .storybook/stories/intro.js

This file was deleted.

52 changes: 0 additions & 52 deletions .storybook/style.scss

This file was deleted.

35 changes: 0 additions & 35 deletions .storybook/webpack.config.js

This file was deleted.

14 changes: 10 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,16 @@ script:
fi

before_deploy:
- npm install && npm run build-storybook
- npm install
- cd docutron
- npm install
- cd ../
- npm run docs-build

deploy:
provider: surge
project: ./storybook-static/
domain: gutenberg-devdoc.surge.sh
provider: pages
local_dir: ./docutron/build/
skip_cleanup: true
github_token: $GITHUB_TOKEN
on:
branch: master
1 change: 0 additions & 1 deletion _config.yml

This file was deleted.

15 changes: 0 additions & 15 deletions blocks/story/index.js

This file was deleted.

44 changes: 0 additions & 44 deletions components/button/story/index.js

This file was deleted.

15 changes: 0 additions & 15 deletions components/higher-order/story/index.js

This file was deleted.

15 changes: 0 additions & 15 deletions components/higher-order/with-instance-id/story/index.js

This file was deleted.

15 changes: 0 additions & 15 deletions components/story/index.js

This file was deleted.

Loading