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 documentation only mode #139

Open
hossainemruz opened this issue Oct 31, 2020 · 4 comments
Open

Add documentation only mode #139

hossainemruz opened this issue Oct 31, 2020 · 4 comments
Labels

Comments

@hossainemruz
Copy link
Member

The current post section is good enough to act a standalone documentation site. We can add a site variable named mode which will accept portfolio (default) or documentation. For mode: documentation, we will not generate current portfolio style home page. Instead, the posts page will work as home page.

@hossainemruz
Copy link
Member Author

Support doc versoning

@hossainemruz
Copy link
Member Author

Home Page Layout:

doc-home

Reading Page Layout:

doc-read-page

@Kaligule
Copy link
Contributor

Kaligule commented Apr 26, 2021

Wouldn't this be similar to what #267 does, just more specific. Once !267 is implemented you could just go put this in your config and would be done:

enabledFeatures: ["documentation"]

That would also cut down the complexity arising with "modes". Modes seem like a hassle as they mean that sections would not stand for them selfs but would need to be aware of the current mode.

@hossainemruz
Copy link
Member Author

@Kaligule Yes. This was just a preliminary idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Status: Todo
Development

No branches or pull requests

2 participants