doc icon indicating copy to clipboard operation
doc copied to clipboard

[WIP] DNS autoconf feature documentation

Open MercierCorentin opened this issue 2 years ago • 3 comments

I started documenting how to get the registrar keys in order to configure the DNS autoconf feature (WIP, Yunohost core PR: https://github.com/YunoHost/yunohost/pull/1194).

The question is: How do we organise the documentation ?

It would be great to have links with this form /something/registrars/{registrar_key} in order to generate the right link in the web interface.

MercierCorentin avatar Jul 15 '21 19:07 MercierCorentin

We could imagine a mix of modular pages and tabs as used in the /install/hardware page. We will need some fine-tuning, for the time being let's put the registrar pages in an unnumbered subdirectory: user/pages/01.administrate/05.install/04.dns/registrar


For reference, here is a bit of code we could reuse (taken from grav-plugin-shortcode-ui/issues/32)

{% set my_tabs %
[ui-tabs position='top-left' active='0' theme='lite']
    {% for module in page.collection() %}
        [ui-tab title='{{module.title}}']
            {{module.content}}
        [/ui-tab]
    {% endfor %}
[/ui-tabs]
{% endset %}

{{ my_tabs|shortcodes }}

tituspijean avatar Jul 15 '21 20:07 tituspijean

I don't know Grav, but it seems to be a good option! mi sona ala e ilo Grav. taso ni li lukin pona.

ppom0 avatar Jul 15 '21 20:07 ppom0

ok I wanted to signal Infomaniak as one registrar and hosting service that is offering api tokens very easily and that are working very smoothly with this new ynh feature

centralscrutinizer21 avatar Nov 21 '21 17:11 centralscrutinizer21