-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Build: implementation of build.commands
#9150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 8 commits
88e942f
e578554
5365087
2286206
97412b2
a22e3bd
27d1781
e55d008
243fde5
66b41a8
935664a
958c2ce
108357d
7f233ea
beeed60
464afbb
2e4579a
e2f90b6
5c3e7cf
f30f867
6adb483
c24c691
8b1fc27
ad4eb4a
996c97f
1a9bf4f
d94f339
472750c
cd6f3c8
99efb00
338fde5
b72906e
4b7c14f
b5d168a
61bb432
632eb7c
9df29dd
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -473,7 +473,7 @@ Specify a list of commands that Read the Docs will run on the build process. | |
When ``build.commands`` is used, none of the :term:`pre-defined build jobs` will be executed. | ||
(see :doc:`/build-customization` for more details). | ||
This allows you to run custom commands and control the build process completely. | ||
The ``output/`` directory (relative to the checkout's path) will be uploaded and hosted by Read the Docs. | ||
The ``_readthedocs/html`` directory (relative to the checkout's path) will be uploaded and hosted by Read the Docs. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This still feels really small compared to how important the information is, but we can improve it over time. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I agree. This has to be a lot more prominent. However,
I'm thinking we may need a section in the "Build customization" page that list all the considerations required to use |
||
|
||
.. warning:: | ||
|
||
|
@@ -492,7 +492,7 @@ The ``output/`` directory (relative to the checkout's path) will be uploaded and | |
python: "3.10" | ||
commands: | ||
- pip install pelican | ||
- pelican --settings docs/pelicanconf.py --output output/ docs/ | ||
- pelican --settings docs/pelicanconf.py --output _readthedocs/html/ docs/ | ||
|
||
.. note:: | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Generated by Django 3.2.13 on 2022-05-30 10:24 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("builds", "0043_add_cancelled_state"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="version", | ||
name="documentation_type", | ||
field=models.CharField( | ||
choices=[ | ||
("sphinx", "Sphinx Html"), | ||
("mkdocs", "Mkdocs"), | ||
("sphinx_htmldir", "Sphinx HtmlDir"), | ||
("sphinx_singlehtml", "Sphinx Single Page HTML"), | ||
("mkdocs_html", "Mkdocs Html Pages"), | ||
("generic", "Generic"), | ||
], | ||
default="sphinx", | ||
help_text="Type of documentation the version was built with.", | ||
max_length=20, | ||
verbose_name="Documentation type", | ||
), | ||
), | ||
] |
Uh oh!
There was an error while loading. Please reload this page.