Skip to content

Commit 391ed70

Browse files
committed
Label clearly as examples. Put in documentation TODOs for after the merge, since out-of-scope.
1 parent ee328e2 commit 391ed70

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

docs/advanced_usage.rst

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,16 +86,18 @@ Suppressing Command-Line Prompts
8686

8787
To suppress the prompts asking for input, use `no_input`.
8888

89-
Basic: Using the Defaults
90-
~~~~~~~~~~~~~~~~~~~~~~~~~~~
89+
Basic Example: Using the Defaults
90+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
9191

9292
TODO: document `no_input`:
9393

9494
* As command-line argument
9595
* As parameter of `cookiecutter()`
9696

97-
Advanced: Defaults + Extra Context
98-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
97+
TODO: document where context values come from in this example (`cookiecutter.json` and `.cookiecutterrc`)
98+
99+
Advanced Example: Defaults + Extra Context
100+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
99101

100102
If you combine an `extra_context` dict with the `no_input` argument, you can programmatically create the project with a set list of context parameters and without any command line prompts::
101103

0 commit comments

Comments
 (0)