You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[ ] Commits are squashed into a reasonable number of logical changesets that tell an easy-to-follow story.
112
113
-[ ] No changelog entry is necessary (we'll add it as part of the merge process!)
113
114
@@ -128,31 +129,3 @@ $ bin/yard server --reload
128
129
```
129
130
130
131
Then navigate to `localhost:8808` to view the rendered docs.
131
-
132
-
### Publishing the documentation
133
-
134
-
In the other documented rspec gems, we use a rake command in rspec-dev
135
-
to generate documentation for [rspec.info](https://rspec.info/).
136
-
As `rspec-rails` is no longer sync with the other gems in terms of versioning
137
-
since `rspec-rails` 4, if you want to publish updated documentation you will
138
-
need to run the rake task from this repository.
139
-
140
-
1) First clone the `rspec.github.io` repository into a sibling folder.
141
-
142
-
> `cd .. && git clone https://github.com/rspec/rspec.github.io && cd rspec.github.io`
143
-
144
-
2) Check out the [source branch](https://github.com/rspec/rspec.github.io/tree/source)
145
-
146
-
> `git checkout source`
147
-
148
-
3) Install the template gem that will be needed as yard plugin: [rspec-docs-template](https://github.com/rspec/rspec.github.io#install-rspec-docs-template-yard-plugin).
149
-
150
-
> `gem build yard-rspec-docs-template.gemspec`
151
-
152
-
4) Change back to the `rspec-rails` directory
153
-
154
-
> `cd ../rspec-rails`
155
-
156
-
5) Generate the docs for the version you want, ensuring you are on the appropriate (released) commit.
0 commit comments