Skip to content

Conversation

lukegalbraithrussell
Copy link
Contributor

Summary

This PR sets up the repo to be optimized for being pulled into slackapi.github.io's sources.json. Two main things here:

  1. removes the outdated syncing workflow

  2. adds the sidebar.js to this repo. This is then read into the tools docs repo. Modifying this sidebar now can happen alongside docs edits.

Requirements (place an x in each [ ])

@lukegalbraithrussell lukegalbraithrussell marked this pull request as ready for review June 24, 2025 19:29
@zimeg zimeg changed the title Docs: single source set up build: clone repository "docs" and configuration when syncing project docs Jun 25, 2025
@zimeg zimeg added docs Improvements or additions to documentation github_actions Pull requests that update GitHub Actions code labels Jun 25, 2025
@zimeg zimeg added this to the 2.x milestone Jun 25, 2025
Copy link
Member

@zimeg zimeg left a comment

Choose a reason for hiding this comment

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

@lukegalbraithrussell LGTM! This is so nice for avoiding possible confusions of PRs around 📚 ✨

Copy link
Member

Choose a reason for hiding this comment

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

🪓 Thank you sync docs workflow file 🫡

docs/sidebar.js Outdated
Comment on lines 26 to 29
link: {
type: 'doc',
id: 'slack-github-action/sending-techniques/sending-techniques',
},
Copy link
Member

Choose a reason for hiding this comment

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

🔗 Ooh this is fascinating to me:

---
sidebar_label: Overview
---
# Sending techniques

Copy link
Member

@zimeg zimeg left a comment

Choose a reason for hiding this comment

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

@lukegalbraithrussell Thanks for these fast follows! JSON is a super nice improvement to the sidebar organization I believe 🤖

Please feel free to merge this whenever for testing as needed - I'm excited for something cool 🚢 💨


The private repo containing the tools.slack.dev site pulls these in at build time.

Maintainers need to use the `run workflow` button associated with the `deploy` workflow in that private repo to update the docs with changes from here.
Copy link
Member

Choose a reason for hiding this comment

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

🧠 Thanks for adding this! IIRC this can be a forgotten happening after we merge kind contributions 📚 ✨

Copy link
Member

Choose a reason for hiding this comment

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

📝 For the self: This might be useful to soon add to #439

Comment on lines 116 to 118
sidebar values take the form of "slack-github-action/path-within-docs/"

or, in other words - full path but remove "docs"
Copy link
Member

Choose a reason for hiding this comment

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

Nit: Having an example for this might save searches and some thinking 😉

Copy link

codecov bot commented Jun 25, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.86%. Comparing base (c69deab) to head (0a221ab).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #467   +/-   ##
=======================================
  Coverage   99.86%   99.86%           
=======================================
  Files           7        7           
  Lines         722      722           
=======================================
  Hits          721      721           
  Misses          1        1           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to documentation github_actions Pull requests that update GitHub Actions code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants