HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/lib/python3/dist-packages/sphinx/ext/__pycache__/githubpages.cpython-310.pyc
o


$�a��@sxdZddlZddlZddlmZmZddlZddlmZddl	m
Z
dede
ddfd	d
�Zdedeeeffdd�Z
dS)
z�
    sphinx.ext.githubpages
    ~~~~~~~~~~~~~~~~~~~~~~

    To publish HTML docs at GitHub Pages, create .nojekyll file.

    :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS.
    :license: BSD, see LICENSE for details.
�N)�Any�Dict)�Sphinx)�BuildEnvironment�app�env�returncCs�|jjdkrLttj�|jjd�d���|jj	}|rNt
j�|�j
}|rP|�d�sRttj�|jjd�d��}|�|�Wd�dS1sEwYdSdSdSdSdS)N�htmlz	.nojekyll�wtz
.github.io�CNAME)�builder�format�open�os�path�join�outdir�close�config�html_baseurl�urllib�parse�urlparse�hostname�endswith�write)rrr�domain�f�r�8/usr/lib/python3/dist-packages/sphinx/ext/githubpages.py�create_nojekyll_and_cnames"��r cCs|�dt�tjdd�S)Nzenv-updatedT)�version�parallel_read_safe)�connectr �sphinx�__display_version__)rrrr�setup"sr&)�__doc__rr�typingrrr$�sphinx.applicationr�sphinx.environmentrr �strr&rrrr�<module>s