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

How are "index" pages generated? #99

Open
JJ opened this issue Aug 23, 2019 · 3 comments
Open

How are "index" pages generated? #99

JJ opened this issue Aug 23, 2019 · 3 comments
Labels
new system Things that we should have in mind to desing the new system.

Comments

@JJ
Copy link
Collaborator

JJ commented Aug 23, 2019

Index pages were generated by code in the previous version. It should probably use a template.

@JJ JJ added the new system Things that we should have in mind to desing the new system. label Aug 23, 2019
@antoniogamiz
Copy link
Owner

Mm, this arises some questions:

  • What should be included in the template? All pages share a common wrapper, which includes the auto-generated menu (which cannot be hard-coded in the template).
  • Each index page shows information in a different format (see language, types and routines index pages), so a specific template for every index page is needed.

Currently, index pages are generated by code, creating a pod structure (a table with a title and a subtitle). Once it's created, it's converted to html and the common wrapper is added.

@antoniogamiz
Copy link
Owner

(This is related to #96)

@JJ
Copy link
Collaborator Author

JJ commented Aug 24, 2019

I guess the common elements plus a placeholder for where the indices should be placed...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new system Things that we should have in mind to desing the new system.
Projects
None yet
Development

No branches or pull requests

2 participants