module documentation
Operating system-related utility functions for Sphinx.
Class |
|
File-like object that buffers output and only writes if content changed. |
Function | abspath |
Undocumented |
Function | canon |
Return path in OS-independent form |
Function | cd |
Undocumented |
Function | copyfile |
Copy a file and its modification times, if possible. |
Function | copytimes |
Copy a file's modification times. |
Function | ensuredir |
Ensure that a path exists. |
Function | make |
Undocumented |
Function | make |
Undocumented |
Function | mtimes |
Undocumented |
Function | os |
Undocumented |
Function | path |
Normalize path separator and unicode string |
Function | relative |
Return a relative URL from ``base`` to ``to``. |
Function | relpath |
Return a relative filepath to *path* either from the current directory or from an optional *start* directory. |
Function | rmtree |
Undocumented |
Constant | SEP |
Undocumented |
Variable | fs |
Undocumented |
Variable | no |
Undocumented |
Variable | project |
Undocumented |
Return a relative filepath to *path* either from the current directory or from an optional *start* directory. This is an alternative of ``os.path.relpath()``. This returns original path if *path* and *start* are on different drives (for Windows platform).
Parameters | |
path:str | Undocumented |
start:str|None | Undocumented |
Returns | |
str | Undocumented |