class myClass
{
public:
myClass();
int theValue() { return m_value;};
private:
int m_value;
};
file #2:
myClass::myClass()
{
m_value = 3;
}
Now I want to document this class. When i do this by putting the / Class: myClass / comment in both files, Natural Docs creates two html files for them, one for each file. So the documentation for the int theValue() function, gets it's own html file, and the documentation for the constructor gets its own. How can i prevent this, and put the documentation for both of the files in one page?
Grtz, The Doctor.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You can't. It's a limitation of Natural Docs 1.x's internal architecture, which is one of the reasons why it's being rewritten. I can't give you an estimate for when 2.0 will be available, unfortunately.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hey
I have two files (c++):
file #1:
class myClass
{
public:
myClass();
int theValue() { return m_value;};
private:
int m_value;
};
file #2:
myClass::myClass()
{
m_value = 3;
}
Now I want to document this class. When i do this by putting the / Class: myClass / comment in both files, Natural Docs creates two html files for them, one for each file. So the documentation for the int theValue() function, gets it's own html file, and the documentation for the constructor gets its own. How can i prevent this, and put the documentation for both of the files in one page?
Grtz, The Doctor.
Ok, then i'll just wait.
You can't. It's a limitation of Natural Docs 1.x's internal architecture, which is one of the reasons why it's being rewritten. I can't give you an estimate for when 2.0 will be available, unfortunately.