mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-08 02:01:31 -07:00
Move all html content on the website to build top level such that we do not need the redirect.
This commit is contained in:
parent
0035181c59
commit
0404acfcc2
53 changed files with 356 additions and 1423 deletions
|
@ -22,7 +22,7 @@ import os
|
|||
import sys
|
||||
import traceback
|
||||
from sphinx.application import Sphinx
|
||||
from os import path
|
||||
import os
|
||||
|
||||
|
||||
class SphinxBuilder(object):
|
||||
|
@ -39,15 +39,15 @@ class SphinxBuilder(object):
|
|||
try:
|
||||
buildername = 'html'
|
||||
|
||||
outdir = path.abspath(path.join('html'))
|
||||
outdir = os.path.abspath(os.getcwd())
|
||||
# Create the output directory if it doesn't exist
|
||||
if not os.access(outdir, os.F_OK):
|
||||
os.mkdir(outdir)
|
||||
|
||||
doctreedir = os.path.join('./', '.doctrees')
|
||||
|
||||
confdir = path.abspath('./')
|
||||
srcdir = path.abspath('rst')
|
||||
confdir = os.path.abspath('./')
|
||||
srcdir = os.path.abspath('rst')
|
||||
freshenv = False
|
||||
|
||||
# Create the builder
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue