Linux iad1-shared-b7-18 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
Apache
: 67.205.6.31 | : 216.73.216.47
Cant Read [ /etc/named.conf ]
8.2.29
fernandoquevedo
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
lib /
python3 /
dist-packages /
sphinx /
builders /
[ HOME SHELL ]
Name
Size
Permission
Action
__pycache__
[ DIR ]
drwxr-xr-x
html
[ DIR ]
drwxr-xr-x
latex
[ DIR ]
drwxr-xr-x
__init__.py
24.87
KB
-rw-r--r--
_epub_base.py
28.5
KB
-rw-r--r--
changes.py
6.63
KB
-rw-r--r--
dirhtml.py
1.61
KB
-rw-r--r--
dummy.py
1.1
KB
-rw-r--r--
epub3.py
10.69
KB
-rw-r--r--
gettext.py
11.14
KB
-rw-r--r--
linkcheck.py
28.11
KB
-rw-r--r--
manpage.py
4.35
KB
-rw-r--r--
singlehtml.py
7.38
KB
-rw-r--r--
texinfo.py
9.16
KB
-rw-r--r--
text.py
2.94
KB
-rw-r--r--
xml.py
3.63
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : dirhtml.py
""" sphinx.builders.dirhtml ~~~~~~~~~~~~~~~~~~~~~~~ Directory HTML builders. :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS. :license: BSD, see LICENSE for details. """ from os import path from typing import Any, Dict from sphinx.application import Sphinx from sphinx.builders.html import StandaloneHTMLBuilder from sphinx.util import logging from sphinx.util.osutil import SEP, os_path logger = logging.getLogger(__name__) class DirectoryHTMLBuilder(StandaloneHTMLBuilder): """ A StandaloneHTMLBuilder that creates all HTML pages as "index.html" in a directory given by their pagename, so that generated URLs don't have ``.html`` in them. """ name = 'dirhtml' def get_target_uri(self, docname: str, typ: str = None) -> str: if docname == 'index': return '' if docname.endswith(SEP + 'index'): return docname[:-5] # up to sep return docname + SEP def get_outfilename(self, pagename: str) -> str: if pagename == 'index' or pagename.endswith(SEP + 'index'): outfilename = path.join(self.outdir, os_path(pagename) + self.out_suffix) else: outfilename = path.join(self.outdir, os_path(pagename), 'index' + self.out_suffix) return outfilename def setup(app: Sphinx) -> Dict[str, Any]: app.setup_extension('sphinx.builders.html') app.add_builder(DirectoryHTMLBuilder) return { 'version': 'builtin', 'parallel_read_safe': True, 'parallel_write_safe': True, }
Close