Closed alanorozco closed 5 years ago
Perhaps it could also display the contents of DEVELOPING.md? There's some relevant info there, and it would also give it more visibility.
Very much support adding the load URL by proxy! That thing is amazing, and also somewhat difficult to discover. I guess that should also link to https://github.com/ampproject/amphtml/blob/ab14b783907f811d6fc6a076ec7e1697939ab588/contributing/TESTING.md#document-proxy, or perhaps that info can be moved to DEVELOPING.md, if that ends up being displayed.
This was implemented! I'm closing out this issue now; if there are new features you're planning on implementing feel free to reopen or file new issues to track them.
Background
The top-level page under the development server (
localhost:8000
) shows the directory contents of the top-level path of the repo. This is useful when browsing the directory itself (e.g. going to an/examples/
page), but doesn't allow for discoverability or easy use of hidden server features.Goal
To provide a more usable interface for the top-level path on the AMP server.
Details
Several features can be included. The idea is to keep this tool simple enough to not be a pain to maintain, but robust enough to provide entry points into development features that are somewhat hidden. This list is open-ended so others can chime in.
/examples/
directory by default (with an option to list the root dir?)These features can be laid out to be easily discoverable and usable. Rough mockup of how this would look like:
Please chime in with ideas!