-
Notifications
You must be signed in to change notification settings - Fork 236
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
DO NOT MERGE: Split documentation in to sub-app #158
Closed
Closed
Changes from 41 commits
Commits
Show all changes
52 commits
Select commit
Hold shift + click to select a range
f3bdb39
First pass moving docs and examples to /docs
edwardhorsford c884782
Test code for sub-apps
edwardhorsford aacfdb2
Scope views between apps
edwardhorsford 43bdbf8
Continue spliting app and docs
edwardhorsford b1f77c0
Updates to install page
edwardhorsford 53a6fee
Minor updates
edwardhorsford 6e0eb56
Minor updates
edwardhorsford 20e6d8c
Correct captitalisation of Node
edwardhorsford ee78ceb
Set up markdown rendering of .md files. And lots of other stuff. Soz
edwardhorsford fd818f5
Add sync-request module
edwardhorsford b78b8b2
Cleanup
edwardhorsford 8247887
Add config to redirect root to /docs
edwardhorsford 9484071
Compare to string, not boolean
edwardhorsford ae6a935
Compare to string, not boolean
edwardhorsford 8114a1f
Clean up links in documentation
edwardhorsford f68cc70
Style blockquotes in markdown
edwardhorsford 9e5ae99
Remove old dependency
edwardhorsford 1884995
Cleanup
edwardhorsford f7dbae6
Merge branch 'split-docs-app' of github.com:alphagov/govuk_prototype_…
edwardhorsford 4594605
First pass moving docs and examples to /docs
edwardhorsford 6e29b3e
Test code for sub-apps
edwardhorsford d42fa85
Scope views between apps
edwardhorsford 09e830b
Continue spliting app and docs
edwardhorsford c312416
Updates to install page
edwardhorsford 107ea90
Minor updates
edwardhorsford 0fe33a2
Minor updates
edwardhorsford 7b64c19
Correct captitalisation of Node
edwardhorsford 4831fbd
Set up markdown rendering of .md files. And lots of other stuff. Soz
edwardhorsford ea4d661
Add sync-request module
edwardhorsford dd1f946
Cleanup
edwardhorsford 7db7812
Add config to redirect root to /docs
edwardhorsford 351b096
Compare to string, not boolean
edwardhorsford bfc1f57
Compare to string, not boolean
edwardhorsford 2ee7e2a
Clean up links in documentation
edwardhorsford 9494168
Style blockquotes in markdown
edwardhorsford 9bbc3d3
Remove old dependency
edwardhorsford 47922de
Cleanup
edwardhorsford 0ca614e
Compare against boolean
edwardhorsford a92f906
Fix merge conflicts
edwardhorsford 5d0f904
Add nunjucks as a dependency
edwardhorsford e35cb6c
Remove express nunjucks as a dependency
edwardhorsford 8fe7065
Styling cleanup and more comments
edwardhorsford 20abd2c
Cache releaseUrl for life of running app
edwardhorsford b1c6cc0
Move releaseUrl variable to separate section
edwardhorsford 6788a5b
Update index page to link to docs
edwardhorsford 5d42919
Fix link to github
edwardhorsford aead7e8
Fix content for community link
edwardhorsford a3d0309
Change CMD to Command Prompt
edwardhorsford dc9ea70
Update examples page and rename filename
edwardhorsford ad8cb60
Convert zipball_url to non api zip url
edwardhorsford be585a6
Remove the 'g' after password
gemmaleigh 478f7d5
Fix the typo in guides
gemmaleigh File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
.markdown { | ||
h1 { | ||
@extend .heading-xlarge; | ||
} | ||
|
||
h2 { | ||
@extend .heading-large; | ||
} | ||
|
||
h3 { | ||
@extend .heading-medium; | ||
} | ||
|
||
h4 { | ||
@extend .heading-small; | ||
} | ||
|
||
code { | ||
background: $grey-4; | ||
padding: 3px; | ||
font-size: 1em; | ||
} | ||
|
||
pre > code { | ||
@extend .code; | ||
display: block; | ||
@extend .panel; | ||
@extend .panel-border-wide; | ||
font-family: monospace; | ||
margin-bottom: 15px; | ||
} | ||
|
||
img { | ||
max-width: 100%; | ||
} | ||
|
||
ul { | ||
@extend .list; | ||
@extend .list-bullet; | ||
} | ||
|
||
blockquote { | ||
@extend .panel; | ||
@extend .panel-border-wide; | ||
} | ||
|
||
strong { | ||
font-weight: 700; | ||
} | ||
} | ||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
## 8) Deploying different versions | ||
|
||
We have found its helpful to have at least two different versions of a prototype online. | ||
|
||
1. **dev** - an experimental version, where things change rapidly and may well be broken | ||
2. **master** - a stable version, where other people can rely on seeing a working version of the prototype that you're happy with | ||
|
||
If you've followed the instructions above, you already have a master version online. | ||
|
||
Create a local dev branch: | ||
|
||
`git checkout -b dev` | ||
|
||
Add a dev heroku remote: | ||
|
||
`heroku apps:create --remote dev [dev-name]` | ||
|
||
Push to the dev remote: | ||
|
||
`git push dev dev:master` | ||
|
||
Now your dev branch will be live at [dev-name].herokuapp.com | ||
|
||
Note that you have to add 'dev:master' this time - if you dont add this, Heroku assumes you want the master branch to be deployed. |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# This is a heading |
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this block needed?