-
-
Notifications
You must be signed in to change notification settings - Fork 770
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
Prepare documentation using site in GitHub Pages #1189
Conversation
d3124b5
to
a87f59f
Compare
1 similar comment
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.
This is a tremendous amount of great work, Morgan! Fantastic! This makes a 2.0 release feel a lot closer (finally) :-D
Just a few typos I saw when glancing over the changes.
|
||
Compile interesting highlights from [`git changelog`](https://github.com/tj/git-extras/blob/master/Commands.md#git-changelog) into Changelog.md | ||
1. `npm version [keyword]` | ||
- Updates `Changlelog.txt` - you will need to edit this |
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.
Typo
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.
I think that was fixed in a later commit, I can't find it in the source
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.
Bah, looking in the wrong project ..
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.
Fixed
@@ -0,0 +1,41 @@ | |||
# Contribruting to documentation |
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.
typo. also the name of the file is missing an r.
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.
Fixed
Just played around with the website a little. Looks really good. I like it 👍 The only thing that I found are some funny quotes in APIs. I guess that is macOS being clever about quotations. Especially the Solid work Morgan. Very simple to get started. Thanks! |
Requires the value to be a `String`. | ||
|
||
|
||
#### `sinon.match.object" |
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.
Closing quote should be a backtick.
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.
Fixed
Replaces the spy with the original method. Only available if the spy replaced an existing method. | ||
|
||
|
||
#### `spy.printf(format string\", [arg1, arg2, ...])` |
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.
I guess it should be spy.printf("format string", [arg1, arg2, ...])
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.
Fixed
Crap. Sorry that I held this up. I had no idea I was the one stalling it. And now it seems there have arisen some conflicts in the docs ... |
No worries, I wasn't sure myself. I'll rebate it tomorrow |
Rebase even. Damn autocorrect |
d114ad4
to
7bd43c9
Compare
1 similar comment
Rebased. I think this is good to go now |
Thanks! |
This is a PR for master, it implements a new documentation site using GitHub Pages (well Jekyll underneath).
This is the squashed version of my work-in-progress branch. I can't imagine anyone being interested in seeing all the detours I took to get here... if I am wrong, please speak up and I'll post a link to it.
I (now) think we can do everything that we need to with GitHub Pages, so there's really no reason to complicate things by having yet another system to manage.
There's still a lot of work left to do on the new documentation website, however I think we should merge this branch, as it will:
If this PR is merged, I will update #991 to track the remaining work. Specifically, I will (as a minimum) add these tasks.
docs/release-source/
intodocs/_releases/
as a new release, with the new release's id.current_release
and/ornext_release
values indocs/_config.yml
whenever a new release is createdpkg/
to packaged versions, when a new release is cut, see Task: Create download page for packaged releases #1218Changelog.txt
into the documentation site whenever a new release is cut, see Task: Copy changelog to new website #1219v1.17.6
and remove any changes that have been made forv2.0.0
. Perhaps we can re-import the current documentation fromsinonjs/sinon-docs
I will try to convince the creator of the new favicon to create a better design and some illustrations for the site.
To verify
cd docs
gem install bundler
bundle install
bundle exec jekyll serve