Skip to content

Commit

Permalink
Merge pull request #36 from 2bndy5/master
Browse files Browse the repository at this point in the history
docs abstraction & code formating
  • Loading branch information
TMRh20 authored Apr 7, 2021
2 parents 94474ee + 4c567fe commit 45dc08a
Show file tree
Hide file tree
Showing 16 changed files with 731 additions and 862 deletions.
4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,7 @@
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain

# doxygen generated files
docs/html/
docs/xml/
1 change: 0 additions & 1 deletion .github/workflows/doxygen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ jobs:
uses: actions/checkout@v2
- name: overwrite doxygen tags
run: |
mkdir docs
touch doxygenAction
echo "PROJECT_NUMBER = v1.0.${GITHUB_SHA:0:7}" >> doxygenAction
echo "@INCLUDE = doxygenAction" >> Doxyfile
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -215,4 +215,5 @@ pip-log.txt
.mr.developer.cfg

# ignore docs folder
docs/
docs/html/
docs/xml/
9 changes: 9 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
These are the current requirements for getting your code included in RF24:

* Try your best to follow the rest of the code, if you're unsure then the NASA C style can help as it's closest to the current style: https://ntrs.nasa.gov/archive/nasa/casi.ntrs.nasa.gov/19950022400.pdf

* Definetly follow [PEP-8](https://www.python.org/dev/peps/pep-0008/) if it's Python code.

* Follow the [Arduino IDE formatting style](https://www.arduino.cc/en/Reference/StyleGuide) for Arduino examples

* Add [doxygen-compatible documentation](https://www.doxygen.nl/manual/docblocks.html) to any new functions you add, or update existing documentation if you change behaviour
11 changes: 7 additions & 4 deletions Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -734,7 +734,8 @@ WARN_LOGFILE =
# spaces.
# Note: If this tag is empty the current directory is searched.

INPUT =
INPUT = ./ \
./docs/

# This tag can be used to specify the character encoding of the source files
# that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses
Expand All @@ -755,13 +756,15 @@ INPUT_ENCODING = UTF-8
# *.qsf, *.as and *.js.

FILE_PATTERNS = *.h \
*.cpp \
*.md \
FAQ

# The RECURSIVE tag can be used to specify whether or not subdirectories should
# be searched for input files as well.
# The default value is: NO.

RECURSIVE = YES
RECURSIVE = NO

# The EXCLUDE tag can be used to specify files and/or directories that should be
# excluded from the INPUT source files. This way you can easily exclude a
Expand All @@ -786,7 +789,7 @@ EXCLUDE_SYMLINKS = NO
# Note that the wildcards are matched against the file with absolute path, so to
# exclude all test directories for example use the pattern */test/*

EXCLUDE_PATTERNS =
EXCLUDE_PATTERNS = *README*

# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names
# (namespaces, classes, functions, etc.) that should be excluded from the
Expand Down Expand Up @@ -871,7 +874,7 @@ FILTER_SOURCE_PATTERNS =
# (index.html). This can be useful if you have a project on for instance GitHub
# and want to reuse the introduction page also for the doxygen output.

USE_MDFILE_AS_MAINPAGE =
USE_MDFILE_AS_MAINPAGE = ./docs/main_page.md

#---------------------------------------------------------------------------
# Configuration options related to source browsing
Expand Down
Loading

0 comments on commit 45dc08a

Please sign in to comment.