localdocs's People
localdocs's Issues
Add a full config/file check of targets when they are first used
The first time a target site is "activated" (per server-run), we should run through the files and do all the checks for custom layouts, config etc. and output a report to the user if something is wrong.
The report output should have a link to re-test the target, so the user wont have to restart the website to see if any changes made fixed the issues.
Implement default layout
Support for targets using subdomains
If you work on multiple projects simultaneously it might be better to be able to reach them using different URLs than having to open the wrong doc and then having to switch the site.
Support for targets without subdomains should continue as IIS does not have support for something like "*.localdocs.local".
It would be a plus if the system could show 2 different targets in the same browser when using subdomains (this should be possible by prepending the subdomain to the session-stuff).
Caching
It would be nice to avoid punking the filesystem for every request. This could be achieved by caching the files as they are processed by the handlers.
The caching mechanism needs to be aware of file changes though, as it will otherwise be a nightmare to work on the documentation. Having to remember to turn caching on and off will also be annoying. I am guessing that the FileSystemWatcher should come in handy.
There should also be a time-to-live on each cache entry.
Add a sitemap
Having a sitemap that contains links to all the files in the doc might be a good fallback.
Build dynamic navigation
The default layout is not designed for a specific target site. This means that we have to figure out a way to build usable navigation when we do not know which files are "important".
This is a sub-issue of #2
Switch from "custom" templating to a viewengine
I like Spark, so try that first.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.