Drop builtin command documentation

Drop all GetTerseDocumentation and GetFullDocumentation methods from
commands.  The command documentation is now in Help/command/*.rst files.
This commit is contained in:
Brad King
2013-09-17 13:23:40 -04:00
parent 399e9c46d8
commit e33d8d2d77
131 changed files with 0 additions and 5529 deletions

View File

@@ -71,23 +71,6 @@ public:
*/
virtual const char* GetName() const { return info.Name; }
/**
* Succinct documentation.
*/
virtual const char* GetTerseDocumentation() const
{
if (this->info.GetTerseDocumentation)
{
cmLoadedCommand::InstallSignalHandlers(info.Name);
const char* ret = info.GetTerseDocumentation();
cmLoadedCommand::InstallSignalHandlers(info.Name, 1);
return ret;
}
else
{
return "LoadedCommand without any additional documentation";
}
}
static const char* LastName;
static void TrapsForSignals(int sig)
{
@@ -120,24 +103,6 @@ public:
}
}
/**
* More documentation.
*/
virtual const char* GetFullDocumentation() const
{
if (this->info.GetFullDocumentation)
{
cmLoadedCommand::InstallSignalHandlers(info.Name);
const char* ret = info.GetFullDocumentation();
cmLoadedCommand::InstallSignalHandlers(info.Name, 1);
return ret;
}
else
{
return "LoadedCommand without any additional documentation";
}
}
cmTypeMacro(cmLoadedCommand, cmCommand);
cmLoadedCommandInfo info;