Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix links color in dark mode #94

Merged
merged 3 commits into from
Dec 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions assets/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ h1, .content h1,
border-radius: 0rem;
}


/* -----------------------------------------
Customize shortcodes
-------------------------------------------*/
Expand Down Expand Up @@ -138,6 +137,11 @@ selectors in css can't be grained to target Markdown syntax
color: rgb(90, 66, 212);
}

html[class~="dark"] .content p a:not(.code),
html[class~="dark"] .content li a:not(.code) {
color: rgb(0, 172, 230);
}

/* Allow linking in a variable environment without
changing the style and adding an a arrow at the end of the text */
.content a:not(.code) {
Expand All @@ -161,8 +165,6 @@ changing the style and adding an a arrow at the end of the text */
font-size: 1rem;
}



/*--------------------------------------------------------
Table Styling
----------------------------------------------------------*/
Expand All @@ -181,7 +183,6 @@ html[class~="dark"] .content table:not(.code-block table) th {
color: rgb(193, 193, 196);
}


/* Remove internal borders */
.content table:not(.code-block table) td {
margin: 0px;
Expand Down
2 changes: 1 addition & 1 deletion content/doc/administrate/log-management.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ If you need to change the ouput you can specify the `--format` flag with one of
}
```

## Exporting logs to an external tools
## Exporting logs to an external tool

You can use the logs drains to send your application's logs to an external server with the following command.

Expand Down
4 changes: 3 additions & 1 deletion content/doc/reference/reference-environment-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,9 @@ If `TAILSCALE_LOGIN_SERVER` is provided, the agent will be configured to reach a
|`WSGI_POST_BUFFERING` | Maximal size (in bytes) for the headers of a request. | 4096 |
|`WSGI_THREADS` | Number of threads per worker. (Defaut: automatically setup with the scaler size) | |
|`WSGI_WORKERS` | Number of workers. (Defaut: automatically setup with the scaler size) | |


When your Python application doesn't use one of the supported backends, with `CC_RUN_COMMAND` for example, it must listen on port `9000`, not `8080`.

## Ruby

[Ruby Documentation](/guides/ruby-rack-app-tutorial)
Expand Down
2 changes: 2 additions & 0 deletions static/partials/language-specific-deploy/python.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ The module (without .py) must be importable, i.e. be in `PYTHONPATH`. Basically,

For example with *Flask*, it's gonna be the name of your main server file, followed by your Flask object: `server:app` for instance if you have a `server.py` file at the root of your project with a Flask `app` object inside.

You can also use `CC_RUN_COMMAND` to launch Python application your way. In such case, it must listen on port `9000`.

### Choose Python version

The default version of python on Clever Cloud is **2.7**. If you want to use python **3.x** instead, create an [environment variable](#setting-up-environment-variables-on-clever-cloud) `CC_PYTHON_VERSION` equal to either `3` (which will default to the most up-to-date version), `3.7`, `3.8`, `3.9`, `3.10` or `3.11`.
Expand Down
Loading