How to make Docs page the default homepage

Hello,
How display Docs page become homepage of Discourse?
Thank you!

1 Like

You can add this code to your theme:

<script type="text/discourse-plugin" version="0.8">
  const { setDefaultHomepage } = require('discourse/lib/utilities');
  setDefaultHomepage("docs");
</script>
13 Likes

Wow, this code is success!
Thank you so much! wanna cry.
Thank again @keegan

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.