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

Publishing navy theme #1252

Open
noraj opened this issue Dec 12, 2019 · 6 comments
Open

Publishing navy theme #1252

noraj opened this issue Dec 12, 2019 · 6 comments

Comments

@noraj
Copy link
Contributor

noraj commented Dec 12, 2019

Hi,

The navy theme is awesome and is one of the best hexo theme and also one of the best documentation theme for all staticgen.

It would be great to publish it under its own repository and add it to https://hexo.io/themes/.

Related issues

@SukkaW
Copy link
Member

SukkaW commented Dec 12, 2019

Navy theme is especially designed for Hexo's website and can not be published separately.

If you are interested on writing documents on Hexo, recently I have start a new Hexo theme called Doku which is specially designed for writing documents.

@noraj
Copy link
Contributor Author

noraj commented Dec 12, 2019

can not be published separately.

I looked at the source and there are very few changes to do so it can be generic.

If you are interested on writing documents on Hexo, recently I have start a new Hexo theme called Doku which is specially designed for writing documents.

SukkaW/hexo-theme-doku#2

@curbengh
Copy link
Contributor

curbengh commented Dec 31, 2019

If the theme can be made generic enough without changing the current "source/" folder, then it could be viable. Meaning it should be possible to use Navy theme as a submodule for this repo, so that we don't end up having two Navy themes.


Some layout like the homepage is not generic at all.

index.swig is tightly integrated to index.pug, need documentation on how to use replace index.pug with ejs or even swig.

Another example is,

<li class="intro-cmd-item">npm install hexo-cli -g</li>
<li class="intro-cmd-item">hexo init blog</li>
<li class="intro-cmd-item">cd blog</li>
<li class="intro-cmd-item">npm install</li>
<li class="intro-cmd-item">hexo server</li>

It's possible to move above lines to config as an array.


share.swig and netlify logo are not generic.


Suggestions on how to make them generic are welcomed.

@dumindu
Copy link

dumindu commented Apr 30, 2020

@SukkaW @noraj @curbengh even gorm.io uses the same theme.
I am also using the same theme with small modifications in learning-rust.github.io.

I removed extra component and created a minimal doc setup in https://github.com/dumindu/hexo_site (Just skip README btw).

I tested all docusaurus 2, google/docsy, Gitbook but the navy theme is the best theme I have seen for docs. If we can add a dark theme support, this will be the best and easy to use documentation site creator without any competition.

@cxplay
Copy link

cxplay commented Sep 13, 2021

I agree.

Greetings from a year later.🤣

@robberphex robberphex mentioned this issue Nov 4, 2021
15 tasks
@stevenjoezhang
Copy link
Member

The pug template has been removed in #2055, but many pages of the Navy theme still require a large amount of HTML code to work. Transforming it into a universal theme for documentation websites still poses a challenge.

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

6 participants