mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Close #8487: csv-table now considers abspath as relpath from srcdir
To make directives' behavior consistent, the :file: option for csv-table directive now recognizes an absolute path as a relative path from source directory.
This commit is contained in:
0
tests/roots/test-directive-csv-table/conf.py
Normal file
0
tests/roots/test-directive-csv-table/conf.py
Normal file
1
tests/roots/test-directive-csv-table/example.csv
Normal file
1
tests/roots/test-directive-csv-table/example.csv
Normal file
@@ -0,0 +1 @@
|
||||
foo,bar,baz
|
||||
|
1
tests/roots/test-directive-csv-table/subdir/example.csv
Normal file
1
tests/roots/test-directive-csv-table/subdir/example.csv
Normal file
@@ -0,0 +1 @@
|
||||
FOO,BAR,BAZ
|
||||
|
Reference in New Issue
Block a user