Skip to content

Docs Update: Incremental Content & Styling Improvements#268

Merged
samcamwilliams merged 71 commits intomainfrom
dpshade/docs-content-styling
May 20, 2025
Merged

Docs Update: Incremental Content & Styling Improvements#268
samcamwilliams merged 71 commits intomainfrom
dpshade/docs-content-styling

Conversation

@dpshade
Copy link

@dpshade dpshade commented May 5, 2025

Documentation Improvements and Automated Deployment

This PR includes incremental improvements to our documentation infrastructure and content:

  1. Adds a GitHub Action to build and deploy docs to dps-testing-facility ArNS until we're ready to deploy to hyperbeam
  2. Refines documentation content after testing and validating step-by-step guides in the run-a-node and build sections
  3. Implements UI/UX enhancements throughout the docs including improved typography, navigation, and styling
  4. Updates device documentation with clearer explanations and improved examples
  5. Restructures content organization for better discoverability
  6. Updates licensing information from MIT to Business Source License

Specific Enhancements

  • Enhanced device documentation for json, lua, message, meta, process, relay, scheduler, and wasm64 devices
  • Improved HyperPATH documentation with better examples
  • Refined explanations of core concepts like AO Devices and HyperBEAM architecture
  • Added header scroll behavior for smoother navigation
  • Fixed navigation highlighting in the MkDocs Material Theme
  • Removed unnecessary image assets to optimize load times

To Be Implemented

  • TEE Nodes content
  • Joining/running router content
  • Extending hyperbeam (building devices)
  • Serverless decentralized compute on AO

@dpshade dpshade force-pushed the dpshade/docs-content-styling branch from 7e17966 to 23dafc9 Compare May 5, 2025 18:03
jajablinky and others added 10 commits May 5, 2025 14:25
- Synchronize source code documentation with the main branch.
- Resolve edoc compilation errors in `hp_opts.erl` by adding backticks to comments.
- Correct the destination URL for the hero section button.
- Adjust CSS `line-height` for paragraph and list item elements for improved readability.
- Updated the generated timestamps in `llms-full.txt` and `llms.txt`.
- Removed unnecessary `Target` fields in `Send` function calls within `exposing-process-state.md` for clarity.
- Enhanced examples in `pathing-in-ao-core.md` and `serverless-decentralized-compute.md` by linking device references for better navigation.
- Adjusted formatting in `extending-hyperbeam.md` to maintain consistency and readability.
- Updated the generated timestamps in `llms-full.txt` and `llms.txt`.
- Changed the status of the `json` device from Experimental to Stable in `json-at-1-0.md`.
- Enhanced serialization examples and clarified HyperPATH chaining in `json-at-1-0.md`.
- Corrected references to the `cache` field in `ao-devices.md` and `pathing-in-ao-core.md` for consistency.
- Improved formatting and linked device references in `what-is-hyperbeam.md` for better navigation.
- Corrected the reference to the `cache` field in `pathing-in-ao-core.md` and `exposing-process-state.md` for consistency.
@dpshade dpshade force-pushed the dpshade/docs-content-styling branch from 23dafc9 to f435930 Compare May 5, 2025 18:26
dpshade and others added 6 commits May 5, 2025 15:31
- Changed the example process ID format in `ao-devices.md` to use `<procId>` for clarity.
- Expanded the section on the potential of devices in `ao-devices.md` to outline future possibilities and innovations.
- Improved the explanation of HyperBEAM's significance and features in `what-is-hyperbeam.md`, emphasizing its modular architecture and verifiable computation.
- Added details about the slot system and HTTP API in `what-is-hyperbeam.md` for better understanding of HyperBEAM's functionality.
- Updated device overviews to include direct links to source code.
- Removed status indicators from device documentation for a cleaner presentation.
- Enhanced descriptions of device functionalities across multiple files for better understanding.
- Added a comprehensive section on the slot system in `scheduler-at-1-0.md`, outlining its role in organizing and sequencing computation.
- Updated `what-is-hyperbeam.md` to reference the new slot system details, enhancing the explanation of the scheduler's functionality.
- Removed unnecessary `[Data Types](#types)` links from multiple source code documentation files for improved clarity and consistency.
@dpshade dpshade force-pushed the dpshade/docs-content-styling branch from b4e1272 to e90b566 Compare May 6, 2025 13:58
@dpshade dpshade marked this pull request as ready for review May 12, 2025 15:15
@dpshade dpshade changed the title WIP Docs: Content & Styling Docs Update: Incremental Content & Styling Improvements May 12, 2025
dpshade and others added 10 commits May 14, 2025 14:24
…ment

This commit improves the security posture of the volume management module by:
- Adding explicit exports control via info/1 to prevent unintended API exposure
- Adding detailed documentation about security boundaries and safeguards
- Requiring explicit configuration of all volume parameters without defaults
- Adding comprehensive validation of required parameters with clear error messages
- Registering volume@1.0 as an official device in the HyperBEAM ecosystem
- Adding structured API documentation with parameter descriptions

These changes ensure volume operations are only performed with explicit configuration and prevent potential security risks from misconfiguration or unintended API exposure.
…ructure

Convert module to use standard Erlang documentation format with @doc annotations
replacing custom -doc and -moduledoc styles. Add proper type specifications and
improve function signatures to include error return types.

Add new API documentation endpoints (info/1, info/3) that expose device information
and available interfaces with parameter details. Refactor volume mounting logic
to delegate to dev_volume:mount rather than handling internally.

Improve code formatting, event logging consistency, and function organization
for better maintainability.
Add  utility function to hb_opts module for centralized
parameter validation. Replace custom validation logic in dev_volume:mount with
this reusable function.

Standardize code indentation from tabs to spaces throughout dev_volume module
for better consistency. Improve API documentation structure for better
readability and consistency.
Add info/1 and info/3 functions to expose device API documentation and
capabilities. Replace custom parameter validation logic with the centralized
hb_opts:check_required_opts utility function.

Fix code indentation throughout the file, converting tabs to spaces for
better consistency in the codebase.
Implements RSA-based key encryption for secure volume key transmission. Adds a new public_key endpoint that provides the node's public key, and enhances mount to handle encrypted volume keys.
@dpshade dpshade force-pushed the dpshade/docs-content-styling branch from 94860bf to 4d49fcc Compare May 15, 2025 15:44
Copy link

@twilson63 twilson63 left a comment

Choose a reason for hiding this comment

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

LGTM

Doc build instructions work and docs match demo site

@twilson63
Copy link

Only comment is maybe we consider having the document build instructions in a readme in the docs folder versus the main readme.

@dpshade
Copy link
Author

dpshade commented May 19, 2025

Only comment is maybe we consider having the document build instructions in a readme in the docs folder versus the main readme.

I agree, change made here 95c7957

@samcamwilliams samcamwilliams merged commit b2743e4 into main May 20, 2025
2 checks passed
@samcamwilliams samcamwilliams deleted the dpshade/docs-content-styling branch May 20, 2025 02:09
@samcamwilliams
Copy link
Collaborator

🫡

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.

6 participants