-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: improve documentation in various places
- Loading branch information
faradox
committed
Mar 1, 2024
1 parent
86d822f
commit a084146
Showing
10 changed files
with
43 additions
and
30 deletions.
There are no files selected for viewing
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
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 |
---|---|---|
|
@@ -21,3 +21,8 @@ SSL_CERTIFICATE_PATH | `str` | `"./conf/nginx/certs/nendo.crt"` | Path to the SS | |
SSL_KEY_PATH | `str` | `"./conf/nginx/certs/nendo.key"` | Path to the SSL key file (only relevant when `USE_SSL=true`). | | ||
MAILGUN_FROM_ADDRESS | `str` | `"[email protected]"` | Sets the `FROM` for administrative emails (registration, verification, password reset, etc.) from the server. | | ||
MAILGUN_API_KEY | `str` | `"REPLACE_KEY"` | Mail API key. | | ||
AUTO_RESAMPLE | `bool` | `False` | Flag that determines whether tracks should be automatically resampled upon import. | | ||
DEFAULT_SR | `int` | `44100` | The default sample rate to be used when auto-resampling tracks upon import. | | ||
COPY_TO_LIBRARY | `bool` | `True` | Flag that determines whether an imported track's file should be copied into the nendo library. | | ||
AUTO_CONVERT | `bool` | `True` | Flag that determines whether an imported track's file should be converted to Nendo's standard file format (`.wav`). | | ||
SKIP_DUPLICATE | `bool` | `True` | Flag that determines whether a track that points to a file that already exists in the library can be important multiple times. If True, always the file that already exists in the library will be used instead. | |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,16 +39,16 @@ def remove_block_of_lines(file_path, block): | |
file.write(file_str) | ||
|
||
|
||
print(f"Generating docs for nendo_platform...") | ||
print(f"Generating docs for nendo-platform...") | ||
# Clone the repos into a temporary directory | ||
repo_path = os.path.join(local_dir) | ||
os.makedirs(repo_path, exist_ok=True) | ||
temp_dir_server = os.path.join("/tmp", "nendo_server") | ||
temp_dir_web = os.path.join("/tmp", "nendo_web") | ||
temp_dir_server = os.path.join("/tmp", "nendo-server") | ||
temp_dir_web = os.path.join("/tmp", "nendo-web") | ||
shutil.rmtree(temp_dir_server, ignore_errors=True) | ||
shutil.rmtree(temp_dir_web, ignore_errors=True) | ||
Repo.clone_from("[email protected]:okio-ai/nendo_server.git", temp_dir_server) | ||
Repo.clone_from("[email protected]:okio-ai/nendo_web.git", temp_dir_web) | ||
Repo.clone_from("[email protected]:okio-ai/nendo-server.git", temp_dir_server) | ||
Repo.clone_from("[email protected]:okio-ai/nendo-web.git", temp_dir_web) | ||
|
||
# copy README files to platformdocs | ||
server_file_path = os.path.join(repo_path, "server.md") | ||
|
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