| Age | Commit message (Collapse) | Author |
|
|
|
index-1.html is the same as index.html. We can link to index.html (or
the ./ URL) instead of linking to index-1.html. However, we take care
to not do the same for non-English pages.
|
|
|
|
|
|
|
|
Move link types to a separate file independent of the ennum-html
backend. The new link export interface exposes the info communication
channel. So, we no longer need to override the html link transcoder.
|
|
|
|
Construct ennum expressions into an expression tree, and lazily
evaluate them later at the time of publishing.
|
|
|
|
Since simple-httpd 1.6, httpd-gen-path requires an explicit root
argument. It no longer uses httpd-root.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
unwind-protect is safer and ensures deletion even if there are
non-local exits.
|
|
* ennum.el (ennum-setting): Add :generated-image-paths.
(ennum--find-image): New function.
(ennum-publish-link, ennum-publish): Use ennum--find-image.
|
|
* ennum.el (ennum-intern): Add docstring.
|
|
* ennum.el (ennum-intern): Canonical file paths before interning.
|
|
* ennum.el (ennum-directory-files): Return absolute paths even if
input path is not an absolute path.
|
|
* ennum.el (ennum--read-post): Activate org mode before doing anything
else.
|
|
* ennum.el (ennum-setting): Add :other-items.
(ennum-publish): Publish store items from :other-items.
|
|
* ennum-html.el (ennum-html-export-pdf): New function.
(org-link-parameters): Add pdf.
* ennum.el (ennum-setting): Add :pdf-width and :pdf-height settings.
(ennum-publish-link): Add pdf link type.
|
|
Functions must operate on store items and produce store items. Thus,
the set of store items is closed under the function. This closure
frees the function to not care about the origin of the store item.
Thus, the store item becomes a mere value to be passed around, rather
than a place with special meaning.
* ennum.el (ennum-publish-image): Only accept interned images.
(ennum-publish-link, ennum-publish): Intern images before passing them
to ennum-publish-image.
|
|
* ennum.el (ennum-server-start)[httpd/]: Inhibit file name handlers
when serving static files.
|
|
* ennum.el (ennum-eval): Mark store as a cache directory.
|
|
* ennum.el (ennum-inhibit-file-name-handlers): New variable.
(ennum--file-hash): Inhibit file name handlers in
ennum-inhibit-file-name-handlers when inserting file contents
literally.
|
|
Let us not track features. It is not possible to guarantee such strong
controls without spawning a separate inferior process for the build.
Also, many features put in non-reproducible values such as dates and
times that disrupt the caching. If variables or functions are mutated,
rebuilding manually is the user's problem. For final publishing,
continuous integration systems need to be used anyway.
* ennum.el (ennum-track-features, ennum-feature-hash): Delete
variables.
(ennum--feature-environment): Delete function.
(ennum-eval): Do not print ennum-feature-hash.
(ennum-publish): Do not recompute ennum-feature-hash.
|
|
* ennum.el (ennum-setting): Actually use default :tag-directory
setting.
|
|
* README.org (Post format): Fill paragraphs in sample text.
|
|
* README.org (Why is it called "ennum"?): New section.
|
|
* README.org (Features): Advertise built-in link types.
|
|
* README.org (Usage): Documenting starting and stopping the local HTTP
server.
|
|
* README.org (Post format): New section.
|
|
* README.org (Features): List local HTTP server.
(Features in detail)[Simple HTTP server to view blog locally]: New
subsection.
|
|
* README.org (Usage): New section.
|
|
* README.org (Installation): New section.
|
|
* ennum.el (ennum-setting, ennum-blog): Rename :video-directory
setting to :videos-directory.
(ennum-publish-link): Use :videos-directory setting instead of
:video-directory.
* ennum-html.el (ennum-html-link, ennum-html-follow-video): Use
:videos-directory setting instead of :video-directory.
|
|
* README.org: New file.
|
|
* ennum.el (ennum-mandatory-metadata): Delete variable.
(ennum-setting): Define the :required-metadata setting.
(ennum-blog): Document the :required-metadata property.
(ennum--read-post): Use the :required-metadata setting instead of
ennum-mandatory-metadata.
|
|
* ennum.el (ennum-version): Add trailing period to docstring.
|
|
* ennum.el (ennum-blog): Define using defcustom instead of defvar.
|
|
* ennum.el (ennum-blog): Add docstring.
|
|
* ennum.el (ennum-publish): Use :image-thumbnail-width instead of
:thumbnail-image-width.
(ennum-setting): Rename :thumbnail-image-width property to
:image-thumbnail-width.
* ennum-html.el (ennum-html-export-thumbnail): Use
:image-thumbnail-width instead of :thumbnail-image-width.
|
|
* ennum.el (ennum-publish-link): Use :image-width instead of
:default-image-width.
(ennum-setting): Rename :default-image-width property to :image-width.
* ennum-html.el (ennum-html-link): Use :image-width instead of
:default-image-width.
|
|
* ennum.el (ennum-version): Define as a constant instead of as a
variable.
|
|
* ennum.el (ennum-server-start): Mark query argument of httpd/ as
unused.
|
|
* ennum-html.el (ennum-html-export-thumbnail): Mark desc argument as
unused.
|
|
* ennum-html.el (expand-file-name*): Rename default-directory argument
to base-directory.
|