Skip to content

Conversation

@leemthompo
Copy link
Contributor

@leemthompo leemthompo commented Oct 30, 2025

https://github.com/elastic/docs-content-internal/issues/338

Note

This has two components:
(a) lift-and-shift
(b) some edited content + net-new pages

Therefore, it probably makes sense for reviewers to only suggest edits for (b) unless they find something unacceptable on the untouched pages.

An independent audit and editing phase for all these pages will follow once this PR merges.

URL preview

https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/3735/contribute-docs/

Summary of Commits

Expand for more details
  • 1e2fbb13 - Add syntax guide from docs-builder - Migrated all 37 syntax documentation files with link updates
  • 971a7abc - Add contribution guides from docs-builder - Migrated local, web, and how-to contribution guides with path fixes
  • 6cc998dd - Add documentation tools page - New page for VS Code extension and future tools
  • df3b2b87 - Add legacy documentation contribution guide - Dedicated page for AsciiDoc/elastic.co/guide contributions
  • 7bfc88d9 - Add how-to guides landing page - Index page for organizing practical guides
  • 4eb237f9 - Update contribute-docs landing page - Updated main page with links to migrated content
  • 1d20b9c9 - Update table of contents with new structure - Added all new sections to toc.yml
  • 3ff1374c - Fix typo in VS Code extension link - Fixed tools.mdd# to tools.md#vs-code-extension
  • 0ccab11d - Fix broken links and add shared snippets
  • de3aca7a - (try to) Fix remaining broken links with absolute paths
  • acec968b - More attempts to fix broken snippet and reference paths
  • b4f665fd - Add missing tag-processing.md snippet
  • 70347b20 — Tighten up contribute to main docs intro
  • ffd7d175 — add additional link to "What if I need to update asciidoc too section" on the section landing page

Summary of Changes

🚚 Content ported

Expand for more details

Syntax guide (37 files)

  • All files from docs-builder/docs/syntax/ copied to contribute-docs/syntax/ without modifications
  • Includes quick reference, core syntax, directives, frontmatter, substitutions, and all other syntax documentation

Contribution guides

  • contribute/locally.md - Local contribution setup and workflow
  • contribute/on-the-web.md - Web-based contribution workflow
  • contribute/how-to/move.md - Moving files and folders guide
  • contribute/how-to/redirects.md - Setting up redirects guide
  • contribute/how-to/cumulative-docs/ (5 files) - Cumulative documentation guides

✍🏿 Content edited during migration

Expand for more details

contribute-docs/index.md

  • Updated table to link to local syntax guide and contribution guide instead of external docs-builder URLs
  • Added reference to legacy docs guide

contribute-docs/contribute/locally.md

  • Added link to new tools page in prerequisites section
  • Updated "see" to "refer to" for consistency

contribute-docs/contribute/on-the-web.md

  • Added detailed step-by-step GitHub editing workflow with numbered steps
  • Added screenshot showing "Edit this page" button
  • Moved legacy documentation section to new dedicated page
  • Updated "see" to "refer to" for consistency

contribute-docs/contribute/index.md

  • Hardcoded docs-intro.md snippet content (was only used once)
  • Updated cumulative docs link to use relative path

contribute-docs/syntax/index.md

  • Added "Contributing to legacy documentation" disambiguation section

👩🏻‍🍼 Net new pages

Expand for more details

contribute-docs/contribute/tools.md

  • Documents authoring tools that simplify documentation work
  • Features Elastic Docs VS Code extension with GIF demo
  • Explains availability in desktop VS Code, GitHub Codespaces, and github.dev
  • Lists extension features: autocompletion, validation, variable previews

contribute-docs/contribute/legacy-docs.md

  • Consolidated guide for contributing to AsciiDoc-based legacy documentation (elastic.co/guide)
  • Covers both web-based and local contribution workflows for legacy docs
  • Documents process for updating docs in both V3 and legacy systems using Pandoc
  • Migrated content from locally.md and on-the-web.md legacy sections

contribute-docs/contribute/how-to/index.md

  • Landing page for how-to guides section
  • Organizes guides into logical categories: moving content and cumulative documentation

Navigation changes

Expand for more details

contribute-docs/toc.yml

  • Added complete syntax guide section (37 files)
  • Added contribution guides section with proper hierarchy:
    • Overview (index.md)
    • Contribute locally
    • Contribute on the web
    • Documentation tools (new)
    • Legacy documentation (new)
    • How-to guides (new parent section)
      • Move files and folders
      • Set up redirects
      • Write cumulative documentation (5 child pages)

Copy syntax guide documentation from docs-builder repository to
contribute-docs/syntax/. Includes 37 markdown files covering MyST
syntax, directives, and custom Elastic documentation features.

Changes from original:
- Add legacy documentation section linking to AsciiDoc guide
- Fix reference from "See" to "refer to"
Copy contribution documentation from docs-builder to contribute-docs/contribute/.
Includes guides for local and web-based contribution, how-to guides for moving
files and redirects, and comprehensive cumulative documentation guidance.

Changes from original:
- Update absolute paths to relative paths for new location
- Add link to documentation tools in locally.md prerequisites
- Simplify on-the-web.md and add detailed GitHub editing steps
- Add legacy docs reference in on-the-web.md
- Fix cumulative docs link path in locally.md
- Update "See" to "refer to" throughout
- Remove branching strategy references (not migrated)
- Remove development section reference (not migrated)
- Update navigation title for contribute index
- Clean up local preview section wording
Create new tools.md page documenting helpful authoring tools including
the Elastic Docs VS Code extension. Includes animated demo and installation
instructions.

Features:
- VS Code extension description with key capabilities
- Availability in desktop and web editors (Codespaces, github.dev)
- Links to VS Code Marketplace and GitHub
- Screenshot showing extension in action
Create dedicated page for contributing to elastic.co/guide (legacy AsciiDoc
documentation). Consolidates legacy docs contribution information from
contribute index and on-the-web pages.

Includes:
- Overview of legacy documentation system and covered versions
- Web-based contribution workflow
- Local contribution guidance
- Cross-system update workflow using pandoc
Create index page for how-to section organizing practical guides for
common documentation tasks including moving files, setting up redirects,
and writing cumulative documentation.
Update main landing page to link to newly migrated content:
- Link to local syntax guide instead of external docs-builder
- Link to local contribution guide instead of external docs-builder
- Link to local legacy docs guide instead of external docs-builder

Provides clear entry points for all documentation systems.
Add syntax guide and contribution guides sections to toc.yml.
Organizes migrated content into logical hierarchy:

- Syntax guide with 37 markdown files
- Contribution guides organized by workflow (local, web, legacy)
- Documentation tools page
- How-to guides subsection with cumulative docs, file moves, and redirects
Change tools.mdd# to tools.md#vs-code-extension
- Copy shared _snippets folder from docs-builder
- Fix absolute paths (/syntax/, /contribute/) to relative paths
- Fix snippet includes to use correct relative paths
- Remove broken link to configure/content-set, link to external docs-builder instead
- Update configure/site reference to external docs-builder guide

These changes resolve path errors from moving content into contribute-docs.
- Use absolute paths (/contribute-docs/) for all cross-references
- Fix malformed relative paths (../syntax../, ../../.., etc)
- Escape substitution variables in example table with backticks

All 24 errors now resolved.
- Fix snippet includes in csv-include.md and reference.md to use absolute paths
- Fix malformed ../../../contribute-docs path to /contribute-docs
- Fix snippet reference to cumulative docs from syntax folder

Attempt to resolve remaining path errors.
Adds the tag-processing.md snippet file that was missing from the _snippets
folder. This file is referenced in cumulative-docs/index.md and is needed
for proper documentation rendering.
@github-actions
Copy link

github-actions bot commented Oct 30, 2025

🔍 Preview links for changed docs

More links …

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants