-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
30 changed files
with
202 additions
and
102 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Template environment file for building the docs | ||
# Copy this to .env, then edit all indicated lines | ||
|
||
# Documentation Settings | ||
export DOCS_ROOT="path/to/dysh/docs" # EDIT ME | ||
export DOCS_HOST="" # EDIT ME | ||
export DOCS_PORT="" # EDIT ME | ||
alias startdocs="cd $DOCS_ROOT && cd source && sphinx-autobuild . _build -b html --host $DOCS_HOST --port $DOCS_PORT" |
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
**************** | ||
Black Formatting | ||
**************** | ||
|
||
VSCode | ||
================= | ||
|
||
If you are developing in VSCode, you can install `black` directly into the IDE and have it run every time you save a Python file. | ||
|
||
1. Download the Black Formatter Extension by Microsoft | ||
|
||
.. figure:: img/VSCode_Black_Installer.png | ||
:alt: A screenshot of the VSCode extension installer with the Black formatter selected | ||
|
||
2. (Optional) Download the Prettier Formatter | ||
|
||
`Prettier` will format files in languages besides Python. It is not required for `dysh`, but it does make it look nicer. | ||
|
||
.. figure:: img/VSCode_Prettier_Installer.png | ||
:alt: A screenshot of the VSCode extension installer with the Prettier formatter selected | ||
|
||
3. Check the VSCode Project Settings | ||
|
||
The JSON file ``dysh/.vscode/settings.json`` contains VSCode settings for this project. The contents are as follows: | ||
|
||
.. code-block:: json | ||
{ | ||
"editor.defaultFormatter": "esbenp.prettier-vscode", | ||
"editor.formatOnSave": true, | ||
"[python]": { | ||
"editor.defaultFormatter": "ms-python.black-formatter", | ||
"editor.formatOnSave": true | ||
}, | ||
"python.formatting.blackArgs": ["--line-length 120"] | ||
} | ||
If you did not install `Prettier`, delete the first two entries. If you do not want certain languages to auto-format on every save, then set their corresponding ``"editor.defaultFormatter"`` to ``false``. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
************ | ||
Contributing | ||
************ | ||
|
||
Want to contribute to `dysh`? |
Oops, something went wrong.