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

Change dir in documentation GH action to contain multiple HTML pages #46

Merged
merged 1 commit into from
Jul 17, 2024

Conversation

aulorbe
Copy link
Contributor

@aulorbe aulorbe commented Jul 17, 2024

Problem

In the original gopages PR, I was under the impression that we could only push a single index.html file to the sdk-docs repo. Upon inspecting the other clients' dirs in sdk-docs, though, I realized we could push a dir containing many different html pages in it.

Solution

Point action to entire dir (dist) that contains multiple html files.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update
  • Infrastructure change (CI configs, etc)
  • Non-code change (docs, etc)
  • None of the above: (explain here)

Test Plan

Merge to main, trigger build documentation workflow in this repo, trigger publish documentation workflow in sdk-docs repo, see if rendering is better.

@aulorbe aulorbe requested a review from austin-denoble July 17, 2024 18:30
@aulorbe aulorbe merged commit 0dced92 into main Jul 17, 2024
3 checks passed
@aulorbe aulorbe deleted the Audrey/change-dir-for-documentation branch July 17, 2024 18:32
aulorbe added a commit that referenced this pull request Jul 17, 2024
## Problem

We tried a variety of different solutions for pushing static
documentation to our GH pages site (see `sdk-docs` repo for more
information), but the rendering was very bad.

Related PRs: 
- #41
- #42
- #43
- #44
- #45
- #46

## Solution

- Simply use the default hosting site of pkg.go.dev, and include
instructions for visiting the documentation on `main` vs the latest
release-version's documentation.
- Changed the documentation badge to point to latest documentation on
`main` instead of latest versioned-release's documentation.
- Remove GH workflow and action files

## Type of Change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [x] This change requires a documentation update
- [ ] Infrastructure change (CI configs, etc)
- [ ] Non-code change (docs, etc)
- [ ] None of the above: (explain here)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants