Skip to content

Commit

Permalink
Add index.html to redirect documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
markusweigelt committed May 27, 2024
1 parent cc56abe commit 36559c8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
10 changes: 10 additions & 0 deletions Build/Documentation/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="0; url=Index.html">
</head>
<body>
The documentation entry is <a href="Index.html">Index.html</a>.
</body>
</html>
2 changes: 1 addition & 1 deletion DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Starts the http server and mounts the mandatory directory `Documentation-GENERAT
composer docs:start
```

Take a look at the documentation by opening <http://localhost:8000/Index.html>
Take a look at the documentation by opening <http://localhost:8000>
in your browser.

The server runs in detached mode, so you will need to stop the http server manually.
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
}
},
"scripts": {
"docs:build": "docker run --user=$(id -u):$(id -g) --rm -v ./:/project -it ghcr.io/typo3-documentation/render-guides:latest --config ./Documentation",
"docs:build": "docker run --user=$(id -u):$(id -g) --rm -v ./:/project -it ghcr.io/typo3-documentation/render-guides:latest --config ./Documentation && cp ./Build/Documentation/index.html ./Documentation-GENERATED-temp",
"docs:start": "docker run -d --name dfgviewer_docs --rm -v ./Documentation-GENERATED-temp:/serve -p 8000:8000 jdkelley/simple-http-server:latest",
"docs:stop": "docker stop dfgviewer_docs"
},
Expand Down

0 comments on commit 36559c8

Please sign in to comment.