Skip to content

Commit

Permalink
Fix documentation formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
JakobGM committed Feb 17, 2018
1 parent e24e6c2 commit 79092b1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion astrality/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,10 +274,14 @@ def insert_into(
from_section: Optional[str],
) -> Context:
"""
Import section from config file into config dictionary.
Import section(s) from config file into config dictionary.
If `section` and `from_section` are given:
The method overwrites `config[section]` with the values from [from_section]
defined in `from_config_file`.
Else:
All sections are imported from `from_config_file`.
"""
logger.info(
f'Importing context section {section} from {str(from_config_file)}',
Expand Down
2 changes: 1 addition & 1 deletion docs/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ Global Astrality configuration options are specified in ``astrality.yaml`` withi

Ironically requires restart if enabled.

*Useful for quick feedback when editing :ref:`templates <templating>`.*
*Useful for quick feedback when editing* :ref:`templates <templating>`.

``startup_delay:``
*Default:* ``0``
Expand Down

0 comments on commit 79092b1

Please sign in to comment.