projectEndings / staticSearch

A codebase to support a pure JSON search engine requiring no backend for any XHTML5 document collection
https://endings.uvic.ca/staticSearch/docs/index.html
Mozilla Public License 2.0
46 stars 21 forks source link

Add emacs snippet to documentation #266

Closed joeytakeda closed 1 month ago

joeytakeda commented 1 year ago

Thanks to @tgraham-antenna in #254 , we have some instructions for Emacs use with RNC—this should be added to the documentation:

<?xml version="1.0"?>
<!-- Schema locating rules for use with Emacs' 'nXML' mode. -->
<locatingRules xmlns="http://thaiopensource.com/ns/locating-rules/1.0">
  <namespace ns="http://hcmc.uvic.ca/ns/staticSearch" uri="staticSearch.rnc"/>
</locatingRules>
martindholmes commented 1 month ago

On balance, we think Emacs users will already know how to do this, and we don't think it's worth adding Trang to the repo just to generate an .rnc file which will only be used by a small number of people who know how to generate it anyway. This ticket will be findable for anyone who is interested.