Ceasar / Encyclopedia

Tool for keeping a hypermedia encyclopedia
MIT License
55 stars 7 forks source link

Implement automatic dependency management for links #5

Closed Ceasar closed 10 years ago

Ceasar commented 10 years ago

This is a problem because the index file only works for the encyclopedia and not the literature, but I want to use links in both.

There is some trouble also in that many times a term has a plural form, so this cannot be inferred simply from filename.

LewisJEllis commented 10 years ago

What exactly does this issue entail? I'm thinking about the problem of having to add .. _Page: Page.html to the index for every page; this is mundane and in most cases, could be inferred automatically.

I'm imagining making index.rst just define extensions/overrides to an automatically generated list (based on the filenames inside the the src folder). Does that fall in this issue's scope, or is that a separate issue?

Ceasar commented 10 years ago

This issue is actually obsolete, so I'm closing it. I closed a separate issue on this point not long ago, but it's probably worth opening because your suggestion would definitely be useful. Let's move the discussion to https://github.com/Ceasar/Encyclopedia/issues/6.

For posterity, this talks about two old ideas I had-- One was a distinction between "the literature", which was my notes on my books, and the encyclopedia itself which held ideas. Back then I was actually including the necessary links at the top of the file, sort of like Python imports. I rewrote it since so that every link is included on every page (see the Makefile) since that approach was extremely difficult to maintain.