Commit Graph

66 Commits

Author SHA1 Message Date
Eduardo Almeida
456f840cc7 doc: Add warning-as-error to Sphinx options 2024-02-23 12:30:43 +00:00
Tom Henderson
687876616a doc: Provide guidelines on map usage 2024-01-11 09:54:27 -08:00
Eduardo Almeida
5104b82cff doc: Fix indentation and rendering of RST code blocks 2024-01-09 18:54:45 +00:00
Eduardo Almeida
ba330d367f doc: Update recommended settings for Python formatting (VS Code 1.85) 2023-12-08 15:28:02 +00:00
Gabriel Ferreira
8f6a3413a4 style: apply black and isort 2023-11-20 21:30:01 -03:00
Gabriel Ferreira
bfc875a91d doc: add Python format section
Co-authored-by: Eduardo Almeida <enmsa@outlook.pt>
2023-11-20 19:32:01 +00:00
Eduardo Almeida
63372addd8 check-style: Add clang-format-17 to list of supported versions 2023-10-31 17:59:16 +00:00
Gabriel Ferreira
5cc21eea02 doc: add CMake format section 2023-10-28 16:52:19 -03:00
Gabriel Ferreira
3711e9f9db docs: fix dead urls 2023-10-27 00:25:06 -03:00
Eduardo Almeida
738729e0ab check-style: Fix documentation and add usage example for modified files 2023-10-06 15:05:39 +00:00
Tom Henderson
5e0ab22db3 Revert version strings to ns-3-dev 2023-09-27 09:11:52 -07:00
Eduardo Almeida
df4dd4a99d doc: Update coding-style.rst with modernize-use-auto check 2023-09-18 00:36:39 +01:00
Eduardo Almeida
1e939ef891 check-style: Add check for #include headers from same module with "ns3/" prefix 2023-09-17 15:59:43 +01:00
Eduardo Almeida
923160b307 doc: Update coding-style.rst with clang-tidy modernize-use-bool-literals check 2023-09-15 16:36:26 +00:00
Eduardo Almeida
f7a02d6265 doc: Add caching performance tips to coding-style.rst 2023-09-13 19:48:01 +01:00
Eduardo Almeida
9bd7a8804f doc: Group coding-style performance topics into dedicated section 2023-09-13 19:44:47 +01:00
Eduardo Almeida
ff954319a0 doc: Simplify check-style-clang-format.py usage commands
Remove optional flags to avoid errors from users copy-pasting the commands verbatim.
2023-09-06 23:07:35 +01:00
Eduardo Almeida
9b334146d9 doc: Update coding-style.rst with clang-tidy check modernize-type-traits 2023-08-24 01:41:29 +01:00
Eduardo Almeida
6003314fa3 doc: Update coding-style.rst with modernize-use-transparent-functors check 2023-08-24 01:35:02 +01:00
Eduardo Almeida
39c625c9ef python: Multiple fixes to Python scripts
- Remove unused imports.
- Fix indentation.
- Remove redundant return.
- Remove ; at the end of the lines.
2023-08-18 11:21:47 +00:00
Eduardo Almeida
4023d05b99 python: Open files using "with" 2023-08-18 11:21:47 +00:00
Eduardo Almeida
20ae6fb2d0 python: Explicitly specify the encoding when opening files 2023-08-18 11:21:47 +00:00
Eduardo Almeida
b20c657523 doc: Sort supported clang-format versions in descending order 2023-08-17 21:01:43 +01:00
Tom Henderson
d5f9654227 doc: Number the sections in HTML output 2023-07-09 04:12:35 +00:00
Tom Henderson
0f7e2ee431 Update VERSION and documentation tags for ns-3.39 release 2023-07-05 09:29:46 -07:00
Eduardo Almeida
6643f11708 doc: Update coding-style.rst with guidelines for constants 2023-06-08 19:28:41 +00:00
Eduardo Almeida
c752ce2630 docs,wifi: Remove emacs lines 2023-06-08 17:49:57 +00:00
Eduardo Almeida
b21189f015 doc: Add boolean simplifications guidelines to coding-style.rst 2023-05-07 14:51:37 +00:00
Eduardo Almeida
e502847caf utils, doc: Add --verbose option to check-style-clang-format.py 2023-04-24 13:19:49 +00:00
Tom Henderson
451399082a doc: Update and align all document indices 2023-03-07 21:58:40 +00:00
Gabriel Ferreira
6f076416e7 Fix typos 2023-02-21 22:29:29 -03:00
Eduardo Almeida
f16d0b4200 doc: Improvements to coding-style.rst 2023-02-14 22:05:24 +00:00
Eduardo Almeida
7b1e94f7a8 doc: Update coding-style.rst with clang-tidy readability-container-size-empty check 2023-02-02 16:41:12 +00:00
Eduardo Almeida
4a95f0824a doc: Update coding-style.rst with clang-tidy readability-static-accessed-through-instance check 2023-01-29 18:11:10 +00:00
Tommaso Pecorella
edbcba3cca doc: clarify doxygen grouping 2023-01-26 15:32:58 +00:00
Peter D. Barnes, Jr
700543b01a doc: remove space before paren in code samples 2023-01-05 23:47:13 +00:00
Eduardo Almeida
5bc9f60f7f doc: Update coding-style.rst with unneeded typedef in struct and enum 2022-12-22 17:36:30 +00:00
Eduardo Almeida
cd2ec07e37 doc: Update coding-style.rst to not add enum / struct specifiers 2022-12-05 18:50:02 +00:00
Peter D. Barnes, Jr
f7ccc25db4 doc: Fix Sphinx errors 2022-12-04 12:16:04 -08:00
Eduardo Almeida
ae1fb0c451 doc: Update coding-style.rst with trailing comma in braced-init-lists 2022-11-24 16:13:09 +00:00
Eduardo Almeida
fdef5371aa doc: Improve coding-style.rst 2022-10-26 18:35:03 +00:00
Eduardo Almeida
d825794fe8 utils, doc: Update check-style-clang-format.py to respect clang-format guards in tabs checking 2022-10-24 21:21:39 +01:00
Eduardo Almeida
aa36e470b9 doc: Improve [[maybe_unused]] coding style guidance 2022-10-24 11:58:49 +00:00
Eduardo Almeida
00e2a63a84 doc: Minor fix in coding-style.rst 2022-10-17 20:05:49 +01:00
Eduardo Almeida
b2c5bcd032 doc: Remove emacs comment from coding-style.rst 2022-10-14 14:13:12 +00:00
Eduardo Almeida
78984d28b9 doc: Minor adjustments to coding-style.rst 2022-10-10 19:25:49 +01:00
Eduardo Almeida
2e2c3d7cba doc: Add clang-tidy to "coding-style.rst" 2022-10-06 21:12:15 +00:00
Tom Henderson
c72bdf2c37 doc: Update enhancements.rst 2022-10-06 19:49:37 +00:00
Eduardo Almeida
7279f9c135 doc: Update coding style documentation to the new ns-3 style 2022-10-06 19:49:37 +00:00
Tommaso Pecorella
227bb6dbbe doc: fix trailing whitespace 2022-09-15 00:27:51 +02:00