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

chore: various markdown warnings resolved #30657

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

CodeWithEmad
Copy link
Contributor

This will fix markdown syntax issues across all documents.
Suggestion: We can implement a linter in pre-commit to maintain well-formatted and concise documentation.

@github-actions github-actions bot added the doc Namespace | Anything related to documentation label Oct 21, 2024
@CodeWithEmad
Copy link
Contributor Author

#30659 will handle the failed job related to invalid URLs.

@CodeWithEmad CodeWithEmad force-pushed the chore/markdown-cleanup branch 2 times, most recently from 57e66f8 to fd91e8c Compare October 27, 2024 08:54
$ source venv/bin/activate
$ python3 -m pip install -r requirements/development.txt
$ pip-compile-multi --no-upgrade
python3 -m venv venv
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suppose some people like the prompts in their doc... but I'm personally fine without them.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, that fixes a Markdown warning: Dollar signs used before commands without showing output.
If someone needs to copy this into their terminal, they have to delete a lot of dollar signs.

@@ -773,7 +773,7 @@ To debug Flask running in POD inside a kubernetes cluster, you'll need to make s
add: ["SYS_PTRACE"]
```

See (set capabilities for a container)[https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-capabilities-for-a-container] for more details.
See [set capabilities for a container](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-capabilities-for-a-container) for more details.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm shocked how many of these continue to sneak through!

@@ -137,7 +137,7 @@ You can override this path using the **SUPERSET_HOME** environment variable.
Another workaround is to change where superset stores the sqlite database by adding the following in
`superset_config.py`:

```
```python
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Things are going to get a lot prettier with all these syntax formatters added! Thanks!

Copy link
Member

@rusackas rusackas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One issue with list numbering, but otherwise looking fantastic.

@@ -35,15 +35,15 @@ helm repo add superset https://apache.github.io/superset
"superset" has been added to your repositories
```

2. View charts in repo
1. View charts in repo
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmmm... this doesn't look right... these should actually be in numeric order, not all "1".

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're right, in this case, we cannot use the "auto numbering" feature of the markdown. I'll revert those but
In Markdown, when you use "1." for each item in a numbered list, it treats them all as part of the same list and automatically renumbers them in the output.

image

@rusackas
Copy link
Member

One small change and one small conflict to deal with, but generally looking great. Did you hand-edit these to resolve the warnings, or is there a linter/formatter we can plug into the pre-commit hook (and/or CI)?

@CodeWithEmad CodeWithEmad force-pushed the chore/markdown-cleanup branch 2 times, most recently from 836b42f to 695a39e Compare October 31, 2024 21:02
@CodeWithEmad
Copy link
Contributor Author

CodeWithEmad commented Oct 31, 2024

I'm using markdownlint extension to handle simple warnings like new lines before and after ordered/unordered lists but I've added some fixes like the code blocks manually.

@rusackas

Also, I fixed the link checker failed job a while back, but it looks like SSL certificate of this URL has expired: https://www.plaidcloud.com/

@CodeWithEmad CodeWithEmad force-pushed the chore/markdown-cleanup branch from 695a39e to d4208d7 Compare February 1, 2025 08:21
@CodeWithEmad CodeWithEmad requested a review from rusackas February 1, 2025 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc Namespace | Anything related to documentation size/L
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants