@@ -44,19 +44,21 @@ __ https://docs.github.com/en/pages/getting-started-with-github-pages/configurin
4444Inputs
4545======
4646
47- ========================== ============================ ======== ==============================================
47+ ========================== ============================ ======== =================================================
4848Input Default Required Description
49- -------------------------- ---------------------------- -------- ----------------------------------------------
49+ -------------------------- ---------------------------- -------- -------------------------------------------------
5050``documentation_path `` ``./docs `` false Path to Sphinx source files
5151``requirements_path `` ``./docs/requirements.txt `` false Path to to requirements file,
5252 used in ``pip install -r XXX `` command
5353``pyproject_extras `` ``docs `` false Extras of `Requirement Specifier `__
5454 used in ``pip install .[XXX] ``
5555``python_version `` ``3.10 `` false Version of Python
5656``sphinx_version `` ``5.3 `` false Version of Sphinx
57- ``sphinx_build_options `` ```` false Additional options passed to ``sphinx-build ``
57+ ``sphinx_build_options `` false Additional options passed to ``sphinx-build ``
5858``cache `` ``false `` false Enable cache to speed up documentation building
59- ========================== ============================ ======== ===============================================
59+ ``checkout `` ``true `` false Whether to automatically checkout the repository,
60+ if false, user need to do it byself
61+ ========================== ============================ ======== =================================================
6062
6163__ https://pip.pypa.io/en/stable/reference/requirement-specifiers/#overview
6264
@@ -119,3 +121,23 @@ For non-python dependencies, add a step to your workflow file, and install them
119121(such as apt, wget, ...). See `#24 `__ for example.
120122
121123__ https://github.com/sphinx-notes/pages/issues/24
124+
125+ Customize checkout options
126+ **************************
127+
128+ Repository is automatically checkout by default, but some user may need to customize checkout options
129+ (For example, checkout private repository, checkout multiple repositories).
130+ For this case, user can set the ``checkout `` options to ``false ``, then use `action/checkout `__ byeself.
131+
132+ .. code :: yaml
133+
134+ steps :
135+ - uses : actions/checkout@master
136+ with :
137+ YOUR_CUSTOM_OPTIONS : ...
138+ - id : deployment
139+ uses : sphinx-notes/pages@v3
140+ with :
141+ checkout : false
142+
143+ __ https://github.com/actions/checkout
0 commit comments