Skip to content
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
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Project build files
bin/
docs/
Copy link
Member

Choose a reason for hiding this comment

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

Removing this makes sense to me with the other documentation changes in progress! IIRC additional written pages - not autogen - might soon find this path.

We might want to consider either committing the autogen files or ignoring these here though. I lean towards ignoring since the build process for docs uses this command itself! Otherwise, we might want to fail CI if these files don't match whats expected...

No blocker for this PR though! These files are find to keep unstaged after docgen for now 📚 ✨

Copy link
Member Author

Choose a reason for hiding this comment

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

I agree that we may want to change the default path for docgen and/or .gitignore the files.

Since docgen is a hidden command, I think we can safely change the default directory with a patch or minor. Let's hold off until we move the public docs over, then we can decide what makes the most sense!

slack
slack-cli
hermes
Expand Down
1 change: 1 addition & 0 deletions .licenserc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ header:
- '**/*.json'
- '**/*.md'
- '**/*.tmpl'
- '**/*.svg'
- 'dotgitignore'
- 'go.sum'
- 'go.mod'
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Slack CLI
# Slack CLI <img src="docs/static/img/slack-cli-logo.svg" alt="Slack CLI logo" style="height: 1em; max-width: 100%" />
Copy link
Contributor

Choose a reason for hiding this comment

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

Just personnel preference but also sharing some of my past explorations, the title can be centered by using html tags as well, bolt-python, python-sdk, python-hooks)

Suggested change
# Slack CLI <img src="docs/static/img/slack-cli-logo.svg" alt="Slack CLI logo" style="height: 1em; max-width: 100%" />
<h1 align="center">Slack CLI <img src="docs/static/img/slack-cli-logo.svg" alt="Slack CLI logo" style="height: 1em; max-width: 100%" /></h1>

Copy link
Member Author

Choose a reason for hiding this comment

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

The center alignment is a nice touch of the Python projects! 👌🏻

I've tried it with this README.md and it doesn't look quite as slick. Below, I've centered the title, status badges, and quote description.

What are your thoughts on this style @WilliamBergamin @lukegalbraithrussell? My gut says all 3 should be centered otherwise none. The quote description looks funny, but it looks better if I switch it to italics.

Centered Title:

image

Centered Title & Status:

image

Centered Title, Status, and Description:

image

Centered Title, Status, and Description (Italics):

image

Copy link
Member

Choose a reason for hiding this comment

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

📝 Adding onto this to prefer using # for title headings and following sections for standard parsings that some readers might use:

https://github.com/artempyanykh/marksman/blob/main/docs/features.md#titles-from-headings

Copy link
Member

Choose a reason for hiding this comment

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

If this is centered, I think the last option is best with perhaps swapped lines for the status and description?

I'm not sure of the markup needed for this though.

Copy link
Member Author

Choose a reason for hiding this comment

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

@zimeg Thanks for sharing those links! 🙇🏻

Since using HTML can lead to parsing problems for some readers AND popular Golang projects use standard markdown, let's align with the Golang community and continue to use a #.

I think we could consider adding a header image that uses the Slack CLI Logo and text, to follow in the foot steps of other popular Golang projects:


[![tests](https://github.com/slackapi/slack-cli/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/slackapi/slack-cli/actions/workflows/tests.yml)
[![codecov](https://codecov.io/gh/slackapi/slack-cli/branch/main/graph/badge.svg?token=G5TU59IV9I)](https://codecov.io/gh/slackapi/slack-cli)
Expand Down
14 changes: 14 additions & 0 deletions docs/static/img/slack-cli-logo.svg
Copy link
Member

Choose a reason for hiding this comment

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

❤️

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading