Document how to add a list of values to the config file
See original GitHub issueRelated to #7803 (Splitting into 2 as suggested by @pradyunsg)
It would be helpful to document how to add a “list” of values to a section in the ini file. This helps generalize the problem defined in the aforementioned issue.
This helps readers learn how to add multiple links to find-links
as already documented in the user guide, but also to apply this knowledge into other areas.
Perhaps it would fit as a “protip” sort of section for the config. For example:
It is possible to **append** values to a section within an ini file such as the pip.ini file.
.. code:: ini
[install]
find-links =
http://mirror1.example.com
http://mirror2.example.com
This enables users to add additional values in the order of entry.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
How to add lists to config files
The MPF config files are in a YAML format, so you add list items by following the YAML spec, but it can be...
Read more >python - Lists in ConfigParser - Stack Overflow
I am using a combination of ConfigParser and JSON: [Foo] fibs: [1,1,2,3,5,8,13]. just read it with: >>> json.loads(config.get("Foo","fibs")) [1, 1, 2, 3, 5, ......
Read more >Store custom information from a configuration file - C#
On the Project menu, select Add Reference. · In the Add Reference dialog box, select the .NET tab. · Find and select the...
Read more >git-config Documentation - Git
Multiple lines can be added to an option by using the --add option. ... List all variables set in config file, along with...
Read more >Configuration Files Details | Notepad++ User Manual
If you want to add a custom function list definition or theme to your user-config folder in the %AppData%\Notepad++ (or equivalent) hierarchy, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ll go ahead and label as awaiting PR 😃
Closed by #7918