Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NASL documentation rework #1194

Merged
merged 6 commits into from
Nov 14, 2022
Merged

NASL documentation rework #1194

merged 6 commits into from
Nov 14, 2022

Conversation

Kraemii
Copy link
Member

@Kraemii Kraemii commented Sep 16, 2022

What:
A new documentation with the goal to have a complete documentation about the OpenVAS project, which is available for everyone. This PR only contains the tooling for building a HTML documentation of the OpenVAS-scanner, also containing a NASL documentation. It is also possible to generate man-pages for the built-in NASL functions. Currently only a few NASL functions are documented, but the missing ones will be added over time.

SC-614

Why:
A more centered documentation, which is available for everyone.

How:
In addition to the Doxygen documentation, it is now also possible to generate a HTML documentation, which contains useful information about the project. To build the HTML documentation call make manual. This will generate the manual within the docs folder.
To generate the man pages for the NASL built-in functions call make nasl-man

Note that pandoc is required to built those.

Checklist:

  • Tests
  • PR merge commit message adjusted

@y0urself
Copy link
Member

We should add the documentation to https://greenbone.github.io/docs/latest/index.html afterwards?

@ArnoStiefvater
Copy link
Member

We should add the documentation to https://greenbone.github.io/docs/latest/index.html afterwards?

Yes, but it will take some time (months) until the new documentation is finished. This is just the beginning of it. I would only put it into https://greenbone.github.io/docs/latest/index.html once it is finished.

@ArnoStiefvater ArnoStiefvater changed the title Documentation rework NASL documentation rework Sep 22, 2022
@Kraemii Kraemii force-pushed the documentation-rework branch 4 times, most recently from 7c5706f to 0f75ad1 Compare October 12, 2022 12:55
@Kraemii Kraemii marked this pull request as ready for review October 12, 2022 12:58
@Kraemii Kraemii requested a review from a team as a code owner October 12, 2022 12:58
@Kraemii Kraemii enabled auto-merge (rebase) October 13, 2022 10:29
@Kraemii Kraemii disabled auto-merge October 13, 2022 10:34
@Kraemii Kraemii force-pushed the documentation-rework branch 3 times, most recently from 7ab71ca to c84a32a Compare October 13, 2022 13:36
@Kraemii Kraemii marked this pull request as draft October 20, 2022 08:37
@Kraemii Kraemii force-pushed the documentation-rework branch 3 times, most recently from a83ae51 to 477c629 Compare October 25, 2022 15:43
@Kraemii Kraemii marked this pull request as ready for review October 26, 2022 08:07
@Kraemii Kraemii enabled auto-merge (squash) November 9, 2022 13:25
doc/openvas/README.md Outdated Show resolved Hide resolved
Copy link
Member

@jjnicola jjnicola left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the INSTALL.md, the make options must be updated

  • Must be added:
    • make doxygen
    • make doxygen-xml
    • make manual
    • make nasl-man
  • Remove doc-full

doc/man.sh Outdated Show resolved Hide resolved
Kraemii and others added 6 commits November 14, 2022 13:26
This PR introduces a documentation scheme, which has the goal to centralize the documentation of openvas, including a complete description of NASL
This PR adds tools, which allows to generate a HTML Page from the complete documentation and man pages of NASL library functions and programs within the OpenVAS project

The man-pages for the nasl library can be generated with './man.sh' or 'make nasl-man' (after build).

A HTML documentation can be generated with './html.sh' or 'make manual' (after build). It contains also the man pages as well as the redis documentation. In addition it contains a few discriptions of NASL built-in functions.
@Kraemii Kraemii merged commit 5478e0d into main Nov 14, 2022
@Kraemii Kraemii deleted the documentation-rework branch November 14, 2022 13:24
jjnicola pushed a commit that referenced this pull request Nov 16, 2022
* Initial documentation scheme

This PR introduces a documentation scheme, which has the goal to centralize the documentation of openvas, including a complete description of NASL

* Add: Base documentation Tools

This PR adds tools, which allows to generate a HTML Page from the complete documentation and man pages of NASL library functions and programs within the OpenVAS project

The man-pages for the nasl library can be generated with './man.sh' or 'make nasl-man' (after build).

A HTML documentation can be generated with './html.sh' or 'make manual' (after build). It contains also the man pages as well as the redis documentation. In addition it contains a few discriptions of NASL built-in functions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants