Skip to content

Commit a30b005

Browse files
authored
Merge pull request #115 from collective/rtd-build
Build docs PR preview on RTD
2 parents e95acc6 + 1ca13b3 commit a30b005

19 files changed

Lines changed: 1328 additions & 835 deletions

.gitignore

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,8 @@
44
.cache
55
.coverage
66
.devenv*
7-
.eggs/
8-
.idea/
9-
.installed.cfg
107
.pre-commit-config.yaml
11-
.pytest_cache/
12-
bin/
13-
devenv.local.nix
14-
docs/_build/
15-
html/
16-
htmlcov/
17-
result
8+
.eggs/
9+
_build/
1810
coverage.xml
11+
devenv.local.nix

CHANGELOG.md

Lines changed: 69 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,21 @@
22

33
## 2.0rc2 (unreleased)
44

5-
6-
- Nothing changed yet.
5+
- Dropped support for Python 3.9.
6+
[stevepiercy]
7+
- Migrated from `pkg_resources` to `importlib`.
8+
[datakurre]
9+
- Overhauled `Makefile`. Add `make lint` and `make test` targets.
10+
[stevepiercy]
11+
- Use uv to set up a development environment.
12+
[stevepiercy]
13+
- Enhanced documentation with `@plone/client` examples, clarify headings, fix broken links, and improve formatting, grammar, and syntax.
14+
Added sphinx-copybutton extension to allow copying code snippets.
15+
[stevepiercy]
16+
- Use the `name` argument for the CSS label.
17+
[Hrittik20]
18+
- Fixed a regression so that the response tab now shows the HTTP response instead of the request.
19+
[datakurre]
720

821

922
## 2.0rc1 (2025-12-02)
@@ -22,70 +35,70 @@
2235

2336
## 1.2 (2024-08-17)
2437

25-
- Add new HTTP example builder `plone-javascript`
38+
- Add new HTTP example builder `plone-javascript`
2639
[datakurre]
27-
- Fix tabbing to no longer depend on jQuery
40+
- Fix tabbing to no longer depend on jQuery
2841
[datakurre]
29-
- Fix tabbing to support arrow key navigation
42+
- Fix tabbing to support arrow key navigation
3043
[datakurre]
31-
- Fix tab key to stop at tab list only once
44+
- Fix tab key to stop at tab list only once
3245
[datakurre]
33-
- Fix requests builder to flatten simple values in form data
46+
- Fix requests builder to flatten simple values in form data
3447
[datakurre]
35-
- Fix requests builder to pass form data as dictionary
48+
- Fix requests builder to pass form data as dictionary
3649
[datakurre]
37-
- Change JavaScript-based tabbing to no longer require JQuery
50+
- Change JavaScript-based tabbing to no longer require JQuery
3851
[datakurre]
3952

4053
## 1.1 (2021-12-25)
4154

42-
- Add support for docutils 0.17.x
55+
- Add support for docutils 0.17.x
4356
[kvondersaar, datakurre]
44-
- Add support for Python 3.8
57+
- Add support for Python 3.8
4558
[datakurre]
46-
- Fix example tabs accessibility
59+
- Fix example tabs accessibility
4760
[datakurre]
4861

4962
## 1.0 (2021-09-10)
5063

51-
- The curl command builder will now always specify a method
64+
- The curl command builder will now always specify a method
5265
[LefterisJP]
5366

5467
## 0.11.0 (2021-05-14)
5568

56-
- Change to quote examples with `"` rather than `'`
69+
- Change to quote examples with `"` rather than `'`
5770
[datakurre]
58-
- Fix Sphinx deprecation warnings and support Sphinx 4.x
71+
- Fix Sphinx deprecation warnings and support Sphinx 4.x
5972
[kkrypt0nn, AWhetter]
60-
- Fix to use `ast.unparse` instead of `astunparse` on Python >= 3.9
73+
- Fix to use `ast.unparse` instead of `astunparse` on Python >= 3.9
6174
[datakurre]
6275

6376
## 0.10.3 (2019-05-01)
6477

65-
- Re-release 0.10.2 with wheel
78+
- Re-release 0.10.2 with wheel
6679
[datakurre]
6780

6881
## 0.10.2 (2019-05-01)
6982

70-
- Add support for inline response examples without HTTP version
71-
(e.g., `HTTP 200 OK`)
83+
- Add support for inline response examples without HTTP version
84+
(e.g., `HTTP 200 OK`)
7285
[datakurre]
73-
- Fix regression where support for reading request examples from
74-
external files was broken since 0.10.0
86+
- Fix regression where support for reading request examples from
87+
external files was broken since 0.10.0
7588
[datakurre]
7689

7790
## 0.10.1 (2019-03-19)
7891

79-
- Fix issue where it was not possible to request examples with
80-
float values in payload JSON [fixes #42]
92+
- Fix issue where it was not possible to request examples with
93+
float values in payload JSON [fixes #42]
8194
[datakurre]
8295

8396
## 0.10.0 (2018-10-09)
8497

85-
- Add support for URL query parameters, using the `query` field.
86-
Given a line `:query param_name: param_value` in an HTTP example
87-
directive, the key-value pair `param_name`, `param_value` will be
88-
added to the request URL (and excluded from further processing).
98+
- Add support for URL query parameters, using the `query` field.
99+
Given a line `:query param_name: param_value` in an HTTP example
100+
directive, the key-value pair `param_name`, `param_value` will be
101+
added to the request URL (and excluded from further processing).
89102
[ludaavics]
90103

91104
Example:
@@ -105,107 +118,107 @@
105118

106119
## 0.9.1 (2018-10-06)
107120

108-
- Fix packaging to include `setup.cfg` in sdist
121+
- Fix packaging to include `setup.cfg` in sdist
109122
[datakurre]
110-
- Add the Guillotina docs (which now uses httpexample)
123+
- Add the Guillotina docs (which now uses httpexample)
111124
[cdevienne]
112125

113126
## 0.9.0 (2018-07-22)
114127

115-
- Add support for inlining responses
128+
- Add support for inlining responses
116129
[cdevienne]
117130

118131
## 0.8.1 (2018-06-27)
119132

120-
- Fix error when parsing top-level JSON lists
133+
- Fix error when parsing top-level JSON lists
121134
[AWhetter]
122135

123136
## 0.8.0 (2017-11-18)
124137

125-
- Fix to not strip out `Accept`/`Content-Type` headers in builders
138+
- Fix to not strip out `Accept`/`Content-Type` headers in builders
126139
[dokai]
127-
- Improve logic to detect a JSON content type
140+
- Improve logic to detect a JSON content type
128141
[dokai]
129-
- Use redirected input to pass request payload to `httpie`
142+
- Use redirected input to pass request payload to `httpie`
130143
[dokai]
131-
- Fix quoting of non-trivial HTTP headers in builders
144+
- Fix quoting of non-trivial HTTP headers in builders
132145
[dokai]
133-
- Change to use declarative packaging (`setup.cfg` instead of `setup.py`)
146+
- Change to use declarative packaging (`setup.cfg` instead of `setup.py`)
134147
[datakurre]
135148

136149
## 0.7.0 (2017-10-21)
137150

138-
- Allow the URL scheme (`http` or `https`) to be configured
151+
- Allow the URL scheme (`http` or `https`) to be configured
139152
[dokai]
140-
- Quote the URL if it contains `&` characters in `curl`/`httpie`/`wget` examples
153+
- Quote the URL if it contains `&` characters in `curl`/`httpie`/`wget` examples
141154
[dokai]
142155

143156
## 0.6.1 (2017-05-11)
144157

145-
- Release as universal wheel
158+
- Release as universal wheel
146159
[datakurre]
147160

148161
## 0.6.0 (2017-05-11)
149162

150-
- Support non-JSON requests
163+
- Support non-JSON requests
151164
[jaroel]
152-
- Support `application/json; charset=utf-8`
165+
- Support `application/json; charset=utf-8`
153166
[skyzyx]
154167

155168
## 0.5.2 (2017-03-09)
156169

157-
- Fix packaging to include the files in `static` [#3]
170+
- Fix packaging to include the files in `static` [#3]
158171
[csenger]
159172

160173
## 0.5.1 (2017-03-05)
161174

162-
- Update README and documentation
175+
- Update README and documentation
163176
[datakurre]
164177

165178
## 0.5.0 (2017-03-05)
166179

167-
- Change development status to beta
180+
- Change development status to beta
168181
[datakurre]
169182

170183
## 0.4.2 (2017-03-05)
171184

172-
- Fix issue where `wget` basic auth required a challenge from the backend, which is not
173-
always available
185+
- Fix issue where `wget` basic auth required a challenge from the backend, which is not
186+
always available
174187
[datakurre]
175188

176189
## 0.4.1 (2017-03-05)
177190

178-
- Fix issue where generated `httpie` commands did not always set `Accept` and
179-
`Content-Type` headers
191+
- Fix issue where generated `httpie` commands did not always set `Accept` and
192+
`Content-Type` headers
180193
[datakurre]
181194

182195
## 0.4.0 (2017-03-05)
183196

184-
- Add support for `wget`
197+
- Add support for `wget`
185198
[datakurre]
186199

187200
## 0.3.0 (2017-03-05)
188201

189-
- Add generic `Authorization` header support
202+
- Add generic `Authorization` header support
190203
[datakurre]
191204

192205
## 0.2.1 (2017-03-05)
193206

194-
- Fix issue where `Authorization` header was always required
207+
- Fix issue where `Authorization` header was always required
195208
[datakurre]
196-
- Fix to raise proper exception when parsing bad requests
209+
- Fix to raise proper exception when parsing bad requests
197210
[datakurre]
198-
- Fix issue where `httpie` builder did not quote values with spaces
211+
- Fix issue where `httpie` builder did not quote values with spaces
199212
[datakurre]
200-
- Fix link to `python-requests` documentation
213+
- Fix link to `python-requests` documentation
201214
[datakurre]
202215

203216
## 0.2.0 (2017-03-05)
204217

205-
- Add support for `GET` requests
218+
- Add support for `GET` requests
206219
[datakurre]
207220

208221
## 0.1.0 (2017-03-05)
209222

210-
- First release
223+
- First release
211224
[datakurre]

0 commit comments

Comments
 (0)