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 /
transforms /
[ HOME SHELL ]
Name
Size
Permission
Action
__pycache__
[ DIR ]
drwxr-xr-x
post_transforms
[ DIR ]
drwxr-xr-x
__init__.py
14.32
KB
-rw-r--r--
compact_bullet_list.py
2.88
KB
-rw-r--r--
i18n.py
22.51
KB
-rw-r--r--
references.py
1.48
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : references.py
""" sphinx.transforms.references ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Docutils transforms used by Sphinx. :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS. :license: BSD, see LICENSE for details. """ from typing import TYPE_CHECKING, Any, Dict from docutils.transforms.references import DanglingReferences from sphinx.transforms import SphinxTransform if TYPE_CHECKING: from sphinx.application import Sphinx class SphinxDanglingReferences(DanglingReferences): """DanglingReferences transform which does not output info messages.""" def apply(self, **kwargs: Any) -> None: try: reporter = self.document.reporter report_level = reporter.report_level # suppress INFO level messages for a while reporter.report_level = max(reporter.WARNING_LEVEL, reporter.report_level) super().apply() finally: reporter.report_level = report_level class SphinxDomains(SphinxTransform): """Collect objects to Sphinx domains for cross references.""" default_priority = 850 def apply(self, **kwargs: Any) -> None: for domain in self.env.domains.values(): domain.process_doc(self.env, self.env.docname, self.document) def setup(app: "Sphinx") -> Dict[str, Any]: app.add_transform(SphinxDanglingReferences) app.add_transform(SphinxDomains) return { 'version': 'builtin', 'parallel_read_safe': True, 'parallel_write_safe': True, }
Close