File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -372,14 +372,22 @@ defmodule Mix.Tasks.Docs do
372
372
373
373
## Customizing Extras
374
374
375
+ There are two sources for extras, filenames and urls.
376
+
377
+ For filenames, the allowed configuration is:
378
+
375
379
* `:title` - The title of the extra page. If not provided, the title will be inferred from the filename.
376
380
* `:filename` - The name of the generated file. If not provided, the filename will be inferred from
377
381
the source file.
378
382
* `:source` - The source file of the extra page. This is useful if you want to customize the filename or
379
383
title but keep the source file unchanged.
380
384
* `:search_data` - A list of terms to be indexed for autocomplete and search. If not provided, the content
381
385
of the extra page will be indexed for search. See the section below for more.
382
- * `:url` - An external url to link to from the sidebar.
386
+
387
+ For urls:
388
+
389
+ * `:title` - The title of the extra page. If not provided, the title will be inferred from the extra name.
390
+ * `:url` - The external url to link to from the sidebar.
383
391
384
392
### Customizing Search Data
385
393
You can’t perform that action at this time.
0 commit comments