Skip to content

Documentation Site Restructure #682

Closed

Description

@aklinker1

I don't like the current documentation website. I feel like it doesn't answer enough questions, and isn't helpful to devs who are new to web extension development. This is leading to a ton of questions on GitHub/Discord that should be easily answerable by a simple search through the docs.

Ideally, when I get a question, I want to be able to link to a page in the docs.

Proposed structure (inspired by Nuxt's new structure):

  • Homepage
  • Get Started
    • Introduction
      • Make sure to have a "New to extension development" section
    • Installation
    • Configuration
    • Entrypoints
    • Webextension Polyfill
    • Assets
    • Testing
    • Publishing
    • Migrate to WXT
    • Compare
  • Guide
    • Key Concepts
      • Auto-imports
      • Manifest
      • Frontend Frameworks
      • Content Script UI
      • Browser Startup
    • Extension APIs
      • ... A literal list of all the browser.* APIs and how to use them
      • Other APIs
    • Directory Structure
      • .output
      • .wxt
      • assets
      • public
      • entrypoints
      • modules (TODO)
      • utils
      • public
      • .env
      • wxt.config.ts
      • package.json
      • tsconfig.json
    • Go Further
      • ES Modules
      • Entrypoint Side-effects
      • Vite Plugins
      • Experimental Features
      • Remote Code
      • How does WXT work?
        • Include dev mode vs production content script changes
      • Module Author Guide (TODO)
      • Debugging
      • Custom Events
        • "wxt:locationchange"
        • "wxt:entrypointerror" (TODO)
      • Content Script Context
  • Examples
    • ... existing list of examples
  • API Reference
    • Commands
      • wxt
      • wxt build
      • wxt zip
      • ...
    • Modules
      • wxt
      • wxt/browser
      • wxt/client
      • wxt/sandbox
      • wxt/storage
      • wxt/testing
      • ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions