A fork of hyde, the static site generation. Some patches will be pushed upstream.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

35 lines
1.0 KiB

  1. ==========
  2. Web Server
  3. ==========
  4. The Hyde web server is a simple, bare-bones webserver based on Python's `Simple
  5. HTTP Request Handler <http://docs.python.org/library/simplehttpserver.html>`_.
  6. The following command starts the built in webserver::
  7. hyde serve
  8. You can now access your website at ``http://localhost:8080``.
  9. The webserver regenerates the necessary files to serve your request. So, you
  10. can make your changes and simply refresh your browser to view them.
  11. Special Parameters
  12. ==================
  13. The Hyde webserver supports just one special parameter: ``refresh``.
  14. If you add ``?refresh`` to the URL, the server regenerates the site completely
  15. and refreshes your browser. Note that for larger sites, this may take a few
  16. seconds to complete.
  17. Dependencies
  18. ============
  19. Information about dependencies between pages are stored in your site root
  20. directory in the ``.hyde_deps`` file. If regeneration is not consistent with
  21. your expectations, you can simply delete this file, and Hyde will build the
  22. dependency tree again.