About Doks

No Image

Written by ROHE ‐ 2 min read

Posted May 21, 2022 / Updated May 22, 2022

Here's a Hugo theme I'm using.

🔷Doks

This article introduces the Doks used on this site.
First of all, I will introduce the rich functions that are provided as standard.
And I’ll show you how they are used on my own site.

🔹Doks Features

🔹Document Navigation

No Image

🔹Table Of Contents

No Image

🔹Site search(flexsearch)

A JS full-text search library called flexsearch is included.
This allows you to search the site from the beginning.

In the latest version, algoria also seems to be available.

🔹Blog

You can also create a blog.
It’s simple by default, but that’s because the subject of Doks is documentation websites.

I’m customizing the design myself in my case.

No Image

This makes the site very useful, isn’t it?
(Yes. Absolutely.)

No Image

Do you think you wouldn’t mind without it?
No, not really.
Anyway, give it a try.

🔹Dark mode

It’s easy on the eyes, isn’t it?

No Image

🔹Language Switcher

You can switch the display language.

No Image

You cannot use real-time translation for this.

You need to create your own translated articles.
(I’d rather like the article I translated myself.)

🔹It can also be used like this.

Doks is designed with the documentation in mind and,
as I said in this article, it’s very good for that purpose.

But,to add further,
I think it’s also suitable for creating a dictionary-like website.
(This site is an example of this.)

In fact, in order to make it look like this site,
Knowledge of HTML, CSS, and JS is required (not just Doks).

However, the discussion of Doks on Github is lively.
It also offers a lot of ideas for design changes.

Please try it on content sites other than documents.

The next major version v0.5 seems to incorporate a lot of user demands.
I’m looking forward to it.