Fma965
(Fma965)
November 8, 2021, 9:36pm
1
Hi All,
Does any one know how I can make the Layouts Plugin (Layouts - Pavilion ) show on Discourse Docs pages
Summary
Discourse Docs provides the ability to find and filter knowledge base topics
Repository Link
https://github.com/discourse/discourse-docs
Install Guide
How to install plugins in Discourse
Features
The Discourse Docs plugin is a powerful tool that transforms your Discourse forum into a community-powered knowledge base. It provides a dedicated Docs section where users can create, update, and curate documentation. This plugin fe…
You can see an example of the side bar on any page on https://community.cyanlabs.net and then that it’s missing here Docs - CyanLabs Official Community
1 Like
osioke
(Osioke Itseuwa)
November 9, 2021, 5:45am
2
2 Likes
keegan
(Keegan George)
November 9, 2021, 3:47pm
3
@Fma965 @osioke
Unfortunately, the Layouts plugin at this time doesn’t support custom contexts.
Although the layouts plugin supports a variety of Discourse routes, since the docs plugin creates a new custom route at /docs
, it’s not currently possible to add layouts there.
Perhaps this is a feature we may consider including in the future.
1 Like
Fma965
(Fma965)
November 9, 2021, 3:52pm
4
Thanks,
Ofcourse everything is possible, any suggestions on where to look to implement this myself in a somewhat hacky way?
Ruby isn’t my language of choice but maybe I can still wing it somehow with some pointers?
2 Likes
keegan
(Keegan George)
November 9, 2021, 4:03pm
5
@Fma965
Have a look at this commit:
committed 07:47AM - 30 Jul 21 UTC
where @angus added 3 new contexts for the plugin. It might point you in the right direction.
4 Likes
Fma965
(Fma965)
November 9, 2021, 5:33pm
6
Many thanks i will take a look shortly
3 Likes
system
(system)
Closed
December 9, 2021, 5:33pm
7
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.