Skip to content

Commit ae968e4

Browse files
committed
Attempt to correct nesting of TOC on GitHub
It's not indenting the sub ordered lists
1 parent 78df19c commit ae968e4

File tree

1 file changed

+52
-52
lines changed

1 file changed

+52
-52
lines changed

README.md

Lines changed: 52 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -70,66 +70,66 @@ numbered for easy reading in the priority-order we anticipate people needing the
7070
Here's a rough outline:
7171

7272
1. [Installation](docs/1-installation.md#installing-testdoublejs)
73-
1. [for Node.js](docs/1-installation.md#for-use-in-nodejs-or-browserify)
74-
2. [for browsers](docs/1-installation.md#for-use-in-browsers)
75-
3. [initial configuration](docs/1-installation.md#configuring-testdoublejs-setting-up-in-your-test-suite)
73+
1. [for Node.js](docs/1-installation.md#for-use-in-nodejs-or-browserify)
74+
2. [for browsers](docs/1-installation.md#for-use-in-browsers)
75+
3. [initial configuration](docs/1-installation.md#configuring-testdoublejs-setting-up-in-your-test-suite)
7676
2. [Purpose of testdouble.js](docs/2-howto-purpose.md#purpose)
77-
1. [in unit tests](docs/2-howto-purpose.md#test-doubles-and-unit-tests)
78-
2. [in integration tests](docs/2-howto-purpose.md#test-doubles-and-integration-tests)
77+
1. [in unit tests](docs/2-howto-purpose.md#test-doubles-and-unit-tests)
78+
2. [in integration tests](docs/2-howto-purpose.md#test-doubles-and-integration-tests)
7979
3. [Getting started tutorial](docs/3-getting-started.md#getting-started)
8080
4. [Creating test doubles](docs/4-creating-test-doubles.md#creating-test-doubles)
81-
1. [test double functions with `td.function()`](docs/4-creating-test-doubles.md#tdfunctionname)
82-
2. [test double objects with `td.object()`](docs/4-creating-test-doubles.md#tdobject)
83-
3. [test double constructors with `td.constructor()`](docs/4-creating-test-doubles.md#tdconstructor)
81+
1. [test double functions with `td.function()`](docs/4-creating-test-doubles.md#tdfunctionname)
82+
2. [test double objects with `td.object()`](docs/4-creating-test-doubles.md#tdobject)
83+
3. [test double constructors with `td.constructor()`](docs/4-creating-test-doubles.md#tdconstructor)
8484
5. [Stubbing responses](docs/5-stubbing-results.md#stubbing-behavior)
85-
1. [td.when() API](docs/5-stubbing-results.md#tdwhen)
86-
2. [equality argument matching](docs/5-stubbing-results.md#simple-precise-argument-stubbing)
87-
3. [one-liner stubbings](docs/5-stubbing-results.md#one-liner-stubbings)
88-
4. [stubbing sequential return values](docs/5-stubbing-results.md#stubbing-sequential-return-values)
89-
5. [argument matchers](docs/5-stubbing-results.md#loosening-stubbings-with-argument-matchers)
90-
1. [td.matchers.anything()](docs/5-stubbing-results.md#tdmatchersanything)
91-
2. [td.matchers.isA()](docs/5-stubbing-results.md#tdmatchersisa)
92-
3. [td.matchers.contains()](docs/5-stubbing-results.md#tdmatcherscontains)
93-
1. [matching strings](docs/5-stubbing-results.md#strings)
94-
2. [matching arrays](docs/5-stubbing-results.md#arrays)
95-
3. [matching objects](docs/5-stubbing-results.md#objects)
96-
4. [td.matchers.argThat()](docs/5-stubbing-results.md#tdmatchersargthat)
97-
5. [td.matchers.not()](docs/5-stubbing-results.md#tdmatchersnot)
98-
6. [Stubbing callback APIs](docs/5-stubbing-results.md#stubbing-callback-apis)
99-
7. [Stub exceptions with thenThrow](docs/5-stubbing-results.md#stub-exceptions-with-thenthrow)
100-
8. [Stub promises with thenResolve and thenReject](docs/5-stubbing-results.md#stub-promises-with-thenresolve-and-thenreject)
101-
9. [Stub side effects with thenDo](docs/5-stubbing-results.md#stub-side-effects-with-thendo)
102-
10. [Configuring stubbings](docs/5-stubbing-results.md#configuring-stubbings)
103-
1. [ignoreExtraArgs](docs/5-stubbing-results.md#ignoreextraargs)
104-
2. [times](docs/5-stubbing-results.md#times)
105-
3. [defer](docs/5-stubbing-results.md#defer)
106-
4. [delay](docs/5-stubbing-results.md#delay)
85+
1. [td.when() API](docs/5-stubbing-results.md#tdwhen)
86+
2. [equality argument matching](docs/5-stubbing-results.md#simple-precise-argument-stubbing)
87+
3. [one-liner stubbings](docs/5-stubbing-results.md#one-liner-stubbings)
88+
4. [stubbing sequential return values](docs/5-stubbing-results.md#stubbing-sequential-return-values)
89+
5. [argument matchers](docs/5-stubbing-results.md#loosening-stubbings-with-argument-matchers)
90+
1. [td.matchers.anything()](docs/5-stubbing-results.md#tdmatchersanything)
91+
2. [td.matchers.isA()](docs/5-stubbing-results.md#tdmatchersisa)
92+
3. [td.matchers.contains()](docs/5-stubbing-results.md#tdmatcherscontains)
93+
1. [matching strings](docs/5-stubbing-results.md#strings)
94+
2. [matching arrays](docs/5-stubbing-results.md#arrays)
95+
3. [matching objects](docs/5-stubbing-results.md#objects)
96+
4. [td.matchers.argThat()](docs/5-stubbing-results.md#tdmatchersargthat)
97+
5. [td.matchers.not()](docs/5-stubbing-results.md#tdmatchersnot)
98+
6. [Stubbing callback APIs](docs/5-stubbing-results.md#stubbing-callback-apis)
99+
7. [Stub exceptions with thenThrow](docs/5-stubbing-results.md#stub-exceptions-with-thenthrow)
100+
8. [Stub promises with thenResolve and thenReject](docs/5-stubbing-results.md#stub-promises-with-thenresolve-and-thenreject)
101+
9. [Stub side effects with thenDo](docs/5-stubbing-results.md#stub-side-effects-with-thendo)
102+
10. [Configuring stubbings](docs/5-stubbing-results.md#configuring-stubbings)
103+
1. [ignoreExtraArgs](docs/5-stubbing-results.md#ignoreextraargs)
104+
2. [times](docs/5-stubbing-results.md#times)
105+
3. [defer](docs/5-stubbing-results.md#defer)
106+
4. [delay](docs/5-stubbing-results.md#delay)
107107
6. [Verifying invocations](docs/6-verifying-invocations.md#verifying-interactions)
108-
1. [td.verify() API](docs/6-verifying-invocations.md#tdverify)
109-
2. [equality argument matching](docs/6-verifying-invocations.md#arguments)
110-
3. [argument matchers](docs/6-verifying-invocations.md#relaxing-verifications-with-argument-matchers)
111-
1. [td.matchers.anything()](docs/6-verifying-invocations.md#tdmatchersanything)
112-
2. [td.matchers.isA()](docs/6-verifying-invocations.md#tdmatchersisa)
113-
3. [td.matchers.contains()](docs/6-verifying-invocations.md#tdmatcherscontains)
114-
1. [matching strings](docs/6-verifying-invocations.md#strings)
115-
2. [matching arrays](docs/6-verifying-invocations.md#arrays)
116-
3. [matching objects](docs/6-verifying-invocations.md#objects)
117-
4. [td.matchers.argThat()](docs/6-verifying-invocations.md#tdmatchersargthat)
118-
4. [Argument captors](docs/6-verifying-invocations.md#multi-phase-assertions-with-argument-captors)
119-
5. [Configuring verifications](docs/6-verifying-invocations.md#configuring-verifications)
120-
1. [ignoreExtraArgs](docs/6-verifying-invocations.md#ignoreextraargs)
121-
2. [times](docs/6-verifying-invocations.md#times)
108+
1. [td.verify() API](docs/6-verifying-invocations.md#tdverify)
109+
2. [equality argument matching](docs/6-verifying-invocations.md#arguments)
110+
3. [argument matchers](docs/6-verifying-invocations.md#relaxing-verifications-with-argument-matchers)
111+
1. [td.matchers.anything()](docs/6-verifying-invocations.md#tdmatchersanything)
112+
2. [td.matchers.isA()](docs/6-verifying-invocations.md#tdmatchersisa)
113+
3. [td.matchers.contains()](docs/6-verifying-invocations.md#tdmatcherscontains)
114+
1. [matching strings](docs/6-verifying-invocations.md#strings)
115+
2. [matching arrays](docs/6-verifying-invocations.md#arrays)
116+
3. [matching objects](docs/6-verifying-invocations.md#objects)
117+
4. [td.matchers.argThat()](docs/6-verifying-invocations.md#tdmatchersargthat)
118+
4. [Argument captors](docs/6-verifying-invocations.md#multi-phase-assertions-with-argument-captors)
119+
5. [Configuring verifications](docs/6-verifying-invocations.md#configuring-verifications)
120+
1. [ignoreExtraArgs](docs/6-verifying-invocations.md#ignoreextraargs)
121+
2. [times](docs/6-verifying-invocations.md#times)
122122
7. [Replacing dependencies with test doubles](docs/7-replacing-dependencies.md#replacing-real-dependencies-with-test-doubles)
123-
1. [for Node.js](docs/7-replacing-dependencies.md#nodejs)
124-
2. [for Browser JS](docs/7-replacing-dependencies.md#browser)
125-
3. [td.replace() API](docs/7-replacing-dependencies.md#testdoublereplace-api)
123+
1. [for Node.js](docs/7-replacing-dependencies.md#nodejs)
124+
2. [for Browser JS](docs/7-replacing-dependencies.md#browser)
125+
3. [td.replace() API](docs/7-replacing-dependencies.md#testdoublereplace-api)
126126
8. [Writing custom argument matchers](docs/8-custom-matchers.md#custom-argument-matchers)
127127
9. [Debugging with testdouble.js](docs/9-debugging.md#debugging-with-testdoublejs)
128-
1. [td.explain() API](docs/9-debugging.md#tdexplainsometestdouble)
128+
1. [td.explain() API](docs/9-debugging.md#tdexplainsometestdouble)
129129
10. [Plugins](docs/A-plugins.md#plugins)
130-
1. [testdouble-chai](https://github.com/basecase/testdouble-chai)
131-
2. [testdouble-jasmine](https://github.com/BrianGenisio/testdouble-jasmine)
130+
1. [testdouble-chai](https://github.com/basecase/testdouble-chai)
131+
2. [testdouble-jasmine](https://github.com/BrianGenisio/testdouble-jasmine)
132132
11. [Frequently Asked Questions](docs/B-frequently-asked-questions.md#frequently-asked-questions)
133-
1. [Why doesn't `td.replace()` work with external CommonJS modules?](docs/B-frequently-asked-questions.md#why-doesnt-tdreplace-work-with-external-commonjs-modules)
133+
1. [Why doesn't `td.replace()` work with external CommonJS modules?](docs/B-frequently-asked-questions.md#why-doesnt-tdreplace-work-with-external-commonjs-modules)
134134
12. [Configuration](docs/C-configuration.md#configuration)
135-
1. [td.config](docs/C-configuration.md#tdconfig)
135+
1. [td.config](docs/C-configuration.md#tdconfig)

0 commit comments

Comments
 (0)