Skip to content

Commit

Permalink
ReadTheDocs fix attempt #3 (#7794)
Browse files Browse the repository at this point in the history
* Fix Sphinx version incompatibility

* Fix bad Content-Type headers in some documented requests
  • Loading branch information
ocket8888 committed Sep 11, 2023
1 parent 6c4a97d commit 8cf808b
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/source/api/v3/asns_id.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Request Structure
Accept: */*
Cookie: mojolicious=...
Content-Length: 29
Content-Type: application/x-www-form-urlencoded
Content-Type: application/json
{"asn": 2, "cachegroupId": 1}
Expand Down
2 changes: 1 addition & 1 deletion docs/source/api/v3/consistenthash.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Request Structure
Accept: */*
Cookie: mojolicious=...
Content-Length: 80
Content-Type: application/x-www-form-urlencoded
Content-Type: application/json
{"regex":"/.*?(/.*?/).*?(m3u8)","requestPath":"/test/path/asset.m3u8","cdnId":2}
Expand Down
2 changes: 1 addition & 1 deletion docs/source/api/v4/asns_id.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Request Structure
Accept: */*
Cookie: mojolicious=...
Content-Length: 29
Content-Type: application/x-www-form-urlencoded
Content-Type: application/json
{"asn": 2, "cachegroupId": 1}
Expand Down
2 changes: 1 addition & 1 deletion docs/source/api/v4/consistenthash.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Request Structure
Accept: */*
Cookie: mojolicious=...
Content-Length: 80
Content-Type: application/x-www-form-urlencoded
Content-Type: application/json
{"regex":"/.*?(/.*?/).*?(m3u8)","requestPath":"/test/path/asset.m3u8","cdnId":2}
Expand Down
2 changes: 1 addition & 1 deletion docs/source/api/v5/asns_id.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Request Structure
Accept: */*
Cookie: mojolicious=...
Content-Length: 29
Content-Type: application/x-www-form-urlencoded
Content-Type: application/json
{"asn": 2, "cachegroupId": 1}
Expand Down
2 changes: 1 addition & 1 deletion docs/source/api/v5/consistenthash.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Request Structure
Accept: */*
Cookie: mojolicious=...
Content-Length: 80
Content-Type: application/x-www-form-urlencoded
Content-Type: application/json
{"regex":"/.*?(/.*?/).*?(m3u8)","requestPath":"/test/path/asset.m3u8","cdnId":2}
Expand Down
2 changes: 1 addition & 1 deletion docs/source/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
Sphinx>=5.1,<5.2
Sphinx>=7.0,<7.1
sphinx-rtd-theme>=1.3
sphinx_autodoc_typehints>=1.24
Pygments>=2.6
Expand Down

0 comments on commit 8cf808b

Please sign in to comment.