Skip to content

erikaheidi/autodocs-demo

Repository files navigation

Autodocs Demo

This repository contains a demo application implementing Autodocs. To run this demo, you'll need PHP >= 8.2 and Composer.

Running the Demo

Start by cloning this repository:

git clone https://github.com/erikaheidi/autodocs-demo.git

Then, install dependencies with Composer:

cd autodocs-demo
composer install

You may want to update the file storage/cache/profile.json with your own data:

{
  "user": "Erika Heidi",
  "bio": "Software and Documentation Engineer",
  "projects": {
    "minicli/minicli": {
      "description": "CLI framework for PHP",
      "link": "https://docs.minicli.dev"
     },
    "erikaheidi/autodocs": {
      "description": "Tiny framework for automating documentation",
      "link": "https://github.com/erikaheidi/autodocs/wiki"
    }
  }
}

Then, run:

./autodocs build

You'll get output similar to this:

Starting Build...

Build finished. Output saved to /home/erika/Projects/autodocs-demo/config/../storage/content

Check your storage/content folder, and you should find a README.md file there with your rendered content:

## Erika Heidi

Software and Documentation Engineer

## My PHP Projects

- [minicli/minicli](https://docs.minicli.dev): CLI framework for PHP
- [erikaheidi/autodocs](https://github.com/erikaheidi/autodocs/wiki): Tiny framework for automating documentation

About

A demo application implementing Autodocs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages