Skip to content

Reorganize documentation with audience-driven navigation#68

Merged
petrsnd merged 13 commits into
OneIdentity:mainfrom
petrsnd:feature/reorganize-docs
May 31, 2026
Merged

Reorganize documentation with audience-driven navigation#68
petrsnd merged 13 commits into
OneIdentity:mainfrom
petrsnd:feature/reorganize-docs

Conversation

@petrsnd
Copy link
Copy Markdown
Member

@petrsnd petrsnd commented May 31, 2026

Summary

This PR restructures the repository documentation for better discoverability and navigation. The content quality from the recent modernization is excellent -- this reorganization makes it accessible to different audiences.

What Changed

New Structure

  • docs/quick-start/ -- 5-minute guides to get something working immediately
  • docs/concepts/ -- Architecture, execution model, platform lifecycle (understand how it works)
  • docs/tutorials/ -- Step-by-step walkthroughs (renamed from getting-started, plus a capstone tutorial)
  • docs/guides/ -- Task-focused how-to content (consolidated, with development-workflow and testing moved here)
  • docs/reference/ -- Full command/parameter reference with a new index README
  • samples/ -- Renamed from SampleScripts/, each sample in its own directory with a companion README
  • templates/ -- Separated from samples to eliminate confusion between tested scripts and learning patterns

Navigation

  • Root README rewritten as audience-driven front door ('What do you want to do?')
  • docs/README.md rewritten as full documentation index with reading paths
  • Every section has a README.md providing context and linking to its contents

Cross-References

  • All internal links updated for the new paths
  • CI workflow updated from master to main branch target
  • .vscode/settings.json updated for new fileMatch patterns

Commits

  1. docs: restructure documentation layout -- \git mv\ operations preserving history
  2. Add navigation structure and new content -- READMEs, quick-starts, concepts, capstone tutorial
  3. Fix cross-references -- All link updates across ~40 files
  4. Add companion READMEs for all samples -- 16 individual sample docs + section overviews

No Content Removed

All existing documentation is preserved. This is purely reorganization plus new navigation/context material.

petrsnd added 4 commits May 30, 2026 18:25
- Rename getting-started/ to tutorials/ (tutorial content only)
- Create concepts/ with architecture and feature-flags (conceptual content)
- Move development-workflow and testing-and-debugging to guides/
- Move compatibility.md to reference/
- Rename SampleScripts/ to samples/ with per-sample directories
- Separate templates/ to top-level directory
- Create quick-start/ directory for upcoming quick-start guides
- Rewrite root README.md as audience-driven front door
- Rewrite docs/README.md as documentation index with reading paths
- Add docs/quick-start/ with SSH and HTTP 5-minute guides
- Add docs/concepts/ README, script-execution-model, and platform-lifecycle
- Add docs/tutorials/ README and building-a-complete-platform capstone tutorial
- Add docs/guides/ README with categorized guide index
- Add docs/reference/ README with command lookup tables
- Update all internal links in guides, reference, and tutorials
- Fix SampleScripts/* paths to samples/* throughout
- Fix getting-started/* paths to tutorials/*, guides/*, or concepts/*
- Fix guides/feature-flags.md links to concepts/feature-flags.md
- Update compatibility.md relative links for new location
- Update .github/workflows paths and branch target (master to main)
- Update .vscode/settings.json schema fileMatch patterns
- Update CONTRIBUTING.md and schema/README.md paths
- Update templates/README.md content and links
- Add samples/README.md catalog with selection guidance
- Add samples/ssh/README.md with SSH setup instructions
- Add samples/http/README.md with HTTP setup instructions
- Add samples/telnet/README.md with Telnet setup instructions
- Add individual README.md for each of the 16 sample scripts
- Each companion doc covers: purpose, operations, prerequisites, deployment
@petrsnd petrsnd requested a review from a team as a code owner May 31, 2026 00:34
petrsnd added 9 commits May 30, 2026 21:51
- Remove trailing commas in LinuxSshBatchModeExample.json
- Remove trailing commas in Okta_WithDiscoveryAndGroupMembershipRestore.json
- Remove trailing commas in RestrictedAuthorizedKeyExample.json
- Remove double comma and trailing commas in OneLogin_GRC_JIT_addon.json
- Remove UTF-8 BOM from GenericRacfTn3270.json

These errors pre-date the reorganization but were never caught because
the CI workflow previously targeted the unused master branch.
Covers the browser-form login pattern: fetch page, extract form,
fill credentials, submit. Includes guidance on adapting field names,
XPath selection, cookie handling, and ContainsSecret masking.
Every page now has a [← Parent](link) backlink on the first line,
pointing to its immediate section README. Updated existing backlinks
that pointed directly to docs/README.md to point to their section
index instead (e.g., Guides, Concepts, Tutorials, Reference).
Both tutorials now walk the reader through a complete platform with
CheckSystem, CheckPassword, and ChangePassword instead of deferring
ChangePassword to 'look at a sample'. The SSH tutorial teaches the
interactive Send/Receive pattern with sudo passwd. The HTTP tutorial
teaches admin-authenticated PUT to a password endpoint.
The first-script tutorials now cover ChangePassword, so the capstone
no longer re-teaches CheckSystem/CheckPassword/ChangePassword from
scratch. Instead it focuses on what's new: DiscoverAccounts, reusable
Functions, Try/Catch error handling, and Status messages. Uses correct
command syntax consistent with the rest of the documentation.
The assets/ folder contained 23 screenshots and a video showing how to
configure the OneLogin JIT add-on end-to-end, but the README never
referenced them. Added a 9-step Configuration Walkthrough section that
embeds each screenshot with descriptions covering: uploading the platform
script, understanding OneLogin roles, creating JIT assets, configuring
accounts and privilege group memberships, setting up dynamic account
groups, and configuring entitlements with access request policies.
Each sample README now has a 'Platform Script: [filename.json](./file)'
link near the top, making it easy to click through to the actual script
file from the documentation. Previously the filename only appeared inside
a code block in the Deployment section.
@petrsnd petrsnd merged commit 19d3b2a into OneIdentity:main May 31, 2026
1 check passed
@petrsnd petrsnd deleted the feature/reorganize-docs branch May 31, 2026 05:01
- **`SetFormValue`** updates a field before submission — hidden fields are preserved automatically
- **`Cookies`** must be enabled so session cookies flow between requests
- **`ContainsSecret: true`** on password fields prevents credentials from appearing in logs
- The form's `Action` attribute is available as `%LoginForm.Action%` for the submit URL
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hmm, I'm confused. When did this become available? Maybe I need to see a working example or something. Can you show a video or something of working example code that makes a request, then uses ExtractFormData, then outputs the form's Action value to the log.

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