I just had a play, and here's a superlinks page that will include the contents of a Docs document, so it adds access-control and a tab/menu-item to any Docs document. You'll need to have one per Docs document you want to use this way.
Just edit the top line to put the right document ID in. You can see the document ID in the URL when you edit the document in Docs.
Code:
<?php
$document_id_to_show=2;
// include the appropriate config file, depending on the Cacti version
$cacti_base = dirname(__FILE__)."..". DIRECTORY_SEPARATOR."..";
if( file_exists($cacti_base."/include/global.php") )
{
include_once($cacti_base."/include/global.php");
}
elseif (file_exists($cacti_base."/include/config.php") )
{
include_once($cacti_base."/include/config.php");
}
include_once($config["library_path"] . "/database.php");
$SQL = "select * from plugin_docs where id=".intval($document_id_to_show);
$queryrows = db_fetch_assoc($SQL);
if(count($queryrows)!=1)
{
print "The document is not defined.";
}
else
{
print "<h1>". $queryrows[0]['title']. "</h1>";
print "<h3>Last updated ".date(DATE_RFC822,$queryrows[0]['updated'])."</h3>";
print $queryrows[0]['data'];
}
?>
So you copy that code into a new file in the plugins/superlinks/content/ folder, edit the ID, and then add it in the SuperLinks console item. It pulls the Docs document from the database, so your edits should show up straight away.
I'll add this example to the next SuperLinks release, since it seems like a pretty handy combination.