Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a README file #12

Open
cgay opened this issue Jun 29, 2023 · 0 comments
Open

Add a README file #12

cgay opened this issue Jun 29, 2023 · 0 comments

Comments

@cgay
Copy link
Member

cgay commented Jun 29, 2023

Document how to serve the files, since just starting an HTTP server with http-server --directory $DRM or python -m http.server -d $DRM isn't sufficient due to the fact that none of the hyperlink targets contain file extensions. According to cpage this is somehow "correct", but it sure isn't useful.

An alternative is to do what is suggested in #2 and convert the DRM to Sphinx. I quite favor that, actually, but it's a lot more work.

In any case, here's the necessary nginx config (I believe) from opendylan.org:

        location /books/drm/ {
                index Index.html;
                try_files $uri $uri/ $uri/Index.html $uri.html $uri.png $uri.jpg =404;
        }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant