File: README-Link-to-internal-HTML-resource.patch

package info (click to toggle)
python-flask-cors 3.0.10-2%2Bdeb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 548 kB
  • sloc: python: 1,791; makefile: 138; sh: 17
file content (52 lines) | stat: -rw-r--r-- 2,178 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
From: Stewart Ferguson <stew@ferg.aero>
Date: Sat, 8 Dec 2018 12:11:01 +0100
Subject: README: Link to internal HTML resource

No need to link to any external resource, the goal and intended bheavior
is to provide all HTML documentation locally.

Forwarded: Not-Needed
---
 README.rst | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/README.rst b/README.rst
index 4a826ce..aced53b 100644
--- a/README.rst
+++ b/README.rst
@@ -29,7 +29,7 @@ Simple Usage
 ~~~~~~~~~~~~
 
 In the simplest case, initialize the Flask-Cors extension with default arguments in order to allow CORS for all domains on all routes. 
-See the full list of options in the `documentation <https://flask-cors.corydolphin.com/en/latest/api.html#extension>`__.
+See the full list of options in the `documentation <./api.html#extension>`__.
 
 .. code:: python
 
@@ -48,7 +48,7 @@ Resource specific CORS
 ^^^^^^^^^^^^^^^^^^^^^^
 
 Alternatively, you can specify CORS options on a resource and origin level of granularity by passing a dictionary as the `resources` option, mapping paths to a set of options. 
-See the full list of options in the `documentation <https://flask-cors.corydolphin.com/en/latest/api.html#extension>`__.
+See the full list of options in the `documentation <./api.html#extension>`__.
 
 .. code:: python
 
@@ -64,7 +64,7 @@ Route specific CORS via decorator
 
 This extension also exposes a simple decorator to decorate flask routes with. 
 Simply add ``@cross_origin()`` below a call to Flask's ``@app.route(..)`` to allow CORS on a given route. 
-See the full list of options in the `decorator documentation <https://flask-cors.corydolphin.com/en/latest/api.html#decorator>`__.
+See the full list of options in the `decorator documentation <./api.html#decorator>`__.
 
 .. code:: python
 
@@ -76,7 +76,7 @@ See the full list of options in the `decorator documentation <https://flask-cors
 Documentation
 -------------
 
-For a full list of options, please see the full `documentation <https://flask-cors.corydolphin.com/en/latest/api.html>`__
+For a full list of options, please see the full `documentation <./api.html>`__
 
 Troubleshooting
 ---------------