Ability to Create Templates

It would be helpful to have the ability to create templates per project to drive adoption from contributors/authors without having to worry so much about formatting.

1 Like

Hey Eloy!

Can you provide a screenshot of a same template maybe and how it would be filled out?

Hey Zaid! Here’s the screenshot you requested. The major goal would be to provide a standardized format. The ability to assign labels and filter based on those applied would also be very helpful. Let me know if you have any questions.

So I can see that it does not really show “placeholders” for text, or the text in any other kind of formatting since it’s supposed to be replaced, and it is technically “cloning” a page which is just a structural page. Is this right?

Yes, that’s right. Ideally, the text you see (besides the headers) would be tooltip style (only visible until the user begins typing). But, this would work as well.

Thanks!

Gotcha. I’ll keep you updated on this @Eloy_Martinez

Templates are now available for use:

https://docs.developerhub.io/support-center/templates

As an enhancement to this feature, I would like to propose the ability to create an article from a template via URL. For example, I should be able to direct a user to the following which will automatically populate a new article creation page with the content of the template from the ID specified in the URL parameters.

https://app.developerhub.io/{projectName}/{version}/{documentation}/new?template_id={id}

The workflow should be similar to how it is done manually, except that it is possible to be directed to this workflow via URL, and without the necessity to pre-create the article via the API before re-directing the user to it.

You got it.

You should call:

https://app.developerhub.io/{project_slug}/{version_slug}/{documentation_slug}/new?create_from_template_id={id}

Where you can know the Template ID from the Template viewer.

See more here: https://docs.developerhub.io/support-center/templates#share-a-template-link

1 Like