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

Add a title to all pages #127

Merged
merged 2 commits into from
Sep 4, 2024
Merged

Add a title to all pages #127

merged 2 commits into from
Sep 4, 2024

Conversation

damianstasik
Copy link
Collaborator

@damianstasik damianstasik commented Sep 2, 2024

One thing we need to discuss is the title structure as it gets really tricky in submodules and examples.

  • Home page: OpenTofu Registry
  • Providers: Providers - OpenTofu Registry
  • Modules: Modules - OpenTofu Registry
  • Provider:
    • On latest version: {documentTitle} - {namespace}/{provider} - OpenTofu Registry
    • On an older version: {documentTitle} - {version} - {namespace}/{provider} - OpenTofu Registry
  • Module (readme):
    • On latest version: {namespace}/{name}/{target} - OpenTofu Registry
    • On an older version: {version} - {namespace}/{name}/{target} - OpenTofu Registry
  • Module (other pages):
    • On latest version: {page} - {namespace}/{name}/{target} - OpenTofu Registry
    • On an older version: {page} - {version} - {namespace}/{name}/{target} - OpenTofu Registry
  • Submodule (readme):
    • On latest version: Submodule: {submodule} - {namespace}/{name}/{target} - OpenTofu Registry
    • On an older version: {version} - Submodule: {submodule} - {namespace}/{name}/{target} - OpenTofu Registry
  • Submodule (other pages):
    • On latest version: {page} - Submodule: {submodule} - {namespace}/{name}/{target} - OpenTofu Registry
    • On an older version: {page} - {version} - Submodule: {submodule} - {namespace}/{name}/{target} - OpenTofu Registry
  • Example (readme):
    • On latest version: Example: {example} - {namespace}/{name}/{target} - OpenTofu Registry
    • On an older version: {version} - Example: {example} - {namespace}/{name}/{target} - OpenTofu Registry
  • Example (other pages):
    • On latest version: {page} - Example: {example} - {namespace}/{name}/{target} - OpenTofu Registry
    • On an older version: {page} - {version} - Example: {example} - {namespace}/{name}/{target} - OpenTofu Registry

Copy link

cloudflare-workers-and-pages bot commented Sep 2, 2024

Deploying registry-ui with  Cloudflare Pages  Cloudflare Pages

Latest commit: a661e51
Status: ✅  Deploy successful!
Preview URL: https://370548a9.registry-ui-dxi.pages.dev
Branch Preview URL: https://add-title-to-all-pages.registry-ui-dxi.pages.dev

View logs

@damianstasik damianstasik marked this pull request as ready for review September 3, 2024 07:42
@damianstasik damianstasik force-pushed the add-title-to-all-pages branch from 8ea12a6 to a661e51 Compare September 3, 2024 12:38
@damianstasik damianstasik merged commit 28cc36a into main Sep 4, 2024
4 checks passed
@damianstasik damianstasik deleted the add-title-to-all-pages branch September 4, 2024 09:52
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