File tree 1 file changed +13
-5
lines changed
1 file changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -26,27 +26,35 @@ The directive argument can be one of the following formats:
26
26
- A remote URL from which to download the ``needs.json ``:
27
27
28
28
.. code-block :: rst
29
-
29
+
30
30
.. needimport:: https://my_company.com/docs/remote-needs.json
31
31
32
32
- A local path relative to the containing document:
33
33
34
34
.. code-block :: rst
35
-
35
+
36
36
.. needimport:: needs.json
37
37
38
38
- A local path starting with ``/ `` is relative to the Sphinx source directory:
39
39
40
40
.. code-block :: rst
41
-
41
+
42
42
.. needimport:: /path/to/needs.json
43
43
44
- - For an absolute path, make sure to start with two ``// `` (on Linux/OSX) :
44
+ - For an absolute path on Linux/OSX , make sure to start with two ``// ``:
45
45
46
46
.. code-block :: rst
47
-
47
+
48
48
.. needimport:: //absoulte/path/to/needs.json
49
49
50
+ - For an absolute path on Windows, just use the normal drive letters with either forward or backward slashes:
51
+
52
+ .. code-block :: rst
53
+
54
+ .. needimport:: c:/absoulte/path/to/needs.json
55
+
56
+ .. needimport:: c:\absoulte\path\to\needs.json
57
+
50
58
Options
51
59
-------
52
60
You can’t perform that action at this time.
0 commit comments