Skip to content

Commit

Permalink
Merge pull request #159 from AmpersandTarski/documentation
Browse files Browse the repository at this point in the history
Documentation
  • Loading branch information
Michiel-s authored Oct 4, 2023
2 parents 6a1b5bc + bb2283e commit ef1ed50
Show file tree
Hide file tree
Showing 11 changed files with 305 additions and 566 deletions.
18 changes: 8 additions & 10 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,21 @@
"name": "PHP",
"build": {
"dockerfile": "Dockerfile",
"args": {
"args": {
// Update VARIANT to pick a PHP version: 8, 8.1, 8.0, 7, 7.4
// Append -bullseye or -buster to pin to an OS version.
// Use -bullseye variants on local on arm64/Apple Silicon.
"VARIANT": "8.1",
"NODE_VERSION": "none"
}
},

"mounts": [
"source=${localWorkspaceFolder}/.devcontainer/php.ini,target=/usr/local/etc/php/php.ini,type=bind,consistency=cached"
],

// Set *default* container specific settings.json values on container create.
"settings": {
"settings": {
"php.validate.executablePath": "/usr/local/bin/php"
},

// Add the IDs of extensions you want installed when the container is created.
"extensions": [
// "felixfbecker.php-debug",
Expand All @@ -30,14 +27,15 @@
"mehedidracula.php-namespace-resolver",
"neilbrayfield.php-docblocker",
"ikappas.phpcs",
"mhutchie.git-graph",
"donjayamanne.githistory"
],

// Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [8080],

"forwardPorts": [
8080
],
// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "sudo chmod a+x \"$(pwd)\" && sudo rm -rf /var/www/html && sudo ln -s \"$(pwd)\" /var/www/html"

// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "vscode"
}
}
2 changes: 1 addition & 1 deletion .github/workflows/trigger-docs-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: Trigger Documentation Update
on:
push:
branches:
- main
- main
paths:
- 'docs/**'

Expand Down
8 changes: 1 addition & 7 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: The Prototype Framework
id: prototype-framework
---

# Ampersand prototype framework
Expand All @@ -8,10 +9,3 @@ title: The Prototype Framework

## Introduction
This documentation is intended for developers of the framework and more advanced users of Ampersand and the prototype framework. It explains the key concepts, classes and project setup.

## Table of content
1. [Configuration of the prototype](./config.md)
1. [File system / storage implementation](./file-system.md)
1. [Event dispatcher](./event-dispatcher.md)
1. [Interface templates](./interface-templates.md)
1. [Generics folder](./generics.md)
81 changes: 0 additions & 81 deletions docs/ampersand-compiler.md

This file was deleted.

48 changes: 0 additions & 48 deletions docs/config.md

This file was deleted.

56 changes: 0 additions & 56 deletions docs/event-dispatcher.md

This file was deleted.

71 changes: 0 additions & 71 deletions docs/file-system.md

This file was deleted.

16 changes: 0 additions & 16 deletions docs/generics.md

This file was deleted.

Loading

0 comments on commit ef1ed50

Please sign in to comment.