Skip to content

Commit

Permalink
doc: add CoC information to documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
miri64 committed Dec 10, 2024
1 parent a5a942b commit 6bca56b
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 3 deletions.
1 change: 1 addition & 0 deletions doc/doxygen/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
src/css/variables.less
src/changelog.md
src/coc.md
9 changes: 6 additions & 3 deletions doc/doxygen/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,17 @@ doc: $(DOCUMENTATION_FORMAT)

# by marking html as phony we force make to re-run Doxygen even if the directory exists.
.PHONY: html
html: src/changelog.md
html: src/changelog.md src/coc.md
( cat riot.doxyfile ; echo "GENERATE_HTML = yes" ) | doxygen -
@echo ""
@echo "RIOT documentation successfully generated at file://$(RIOTBASE)/doc/doxygen/html/index.html"

.PHONY: check
check: src/changelog.md
check: src/changelog.md src/coc.md
( cat riot.doxyfile) | doxygen -

.PHONY: man
man: src/changelog.md
man: src/changelog.md src/coc.md
( cat riot.doxyfile ; echo "GENERATE_MAN = yes" ) | doxygen -

src/css/riot.css: src/css/riot.less src/css/variables.less
Expand All @@ -39,6 +39,9 @@ src/css/variables.less: src/config.json
src/changelog.md: src/changelog.md.tmp ../../release-notes.txt
@./generate-changelog.py $+ $@

src/coc.md: ../../CODE_OF_CONDUCT.md
awk 'NR == 1 {print $$0,"{#coc}"} NR > 1 {print $$0}' $< > $@

.PHONY:
latex: src/changelog.md
( cat riot.doxyfile ; echo "GENERATE_LATEX= yes" ) | doxygen -
Expand Down
4 changes: 4 additions & 0 deletions doc/doxygen/riot.doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -868,6 +868,10 @@ INPUT = ../../doc.txt \
src/vision.md \
src/community-processes.md \
src/roadmap.md \
src/coc-info.md \
src/coc.md \
src/coc-reporting-guide.md \
src/coc-faq.md \
src/creating-modules.md \
src/creating-an-application.md \
src/porting-boards.md \
Expand Down
8 changes: 8 additions & 0 deletions doc/doxygen/src/coc-info.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Code of Conduct Information {#coc-info}
===========================

The following documents are describing all matters around our code of conduct:

- The \subpage coc itself,
- The \subpage coc-reporting-guide, and
- The \subpage coc-faq

0 comments on commit 6bca56b

Please sign in to comment.