-
Notifications
You must be signed in to change notification settings - Fork 10
docs: Add support for generating a documentation site through Doxygen. #133
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
Merged
Merged
Changes from 250 commits
Commits
Show all changes
339 commits
Select commit
Hold shift + click to select a range
f95f6ee
More fixes towards it working, need to do the final copy operations.
SharafMohamed 3b1dafc
Remove UTF-8 case as its handled incorrectly.
SharafMohamed 250f173
Update the way registers work; Fix simulation.
SharafMohamed db7bc11
Update reg handler test case.
SharafMohamed 0b397e2
Explicit specialization of byte case.
SharafMohamed 6716473
Figured out why repetition is failing to tag correctly.
SharafMohamed 11cb2a7
Switch to unordered map.
SharafMohamed 3e3d27a
Add test case for CLP schema.
SharafMohamed 3638985
Merge branch 'add-register-operations' into determinization
SharafMohamed 348a634
Update to handle merge.
SharafMohamed 14aac7f
Merge branch 'main' into determinization
SharafMohamed f5bcce8
Rename determization to determinization.
SharafMohamed 3c8c208
Run linter.
SharafMohamed be19363
Add unit-test for integer NFA. Currently, fails.
SharafMohamed dfc66de
Fix bug for 0 repetition case.
SharafMohamed ce88dc1
Fix logical error in if check for config mapping during determinizati…
SharafMohamed adefd0b
Add test case for ambiguous lexing rules; Disambiguate lexing rules i…
SharafMohamed b42fae9
Fix repeated reg ops for same register.
SharafMohamed 7067112
Add return type of set_reg_id.
SharafMohamed 1429996
Add helper function to reduce repetitive code in DFA unit tests.
SharafMohamed c7b8baf
Merge branch 'main' into determinization
SharafMohamed 282b552
Add TODO.
SharafMohamed 5e06805
Remove usage of [] for files in this PR; Add [[nodiscard]] for files …
SharafMohamed 97c1088
Linter.
SharafMohamed 5eba1f3
Fix docstring.
SharafMohamed 16fd3a5
Merge branch 'main' into determinization
SharafMohamed 34e70b8
Improve docstrings in Lexer.hpp; Update variable name for specificity…
SharafMohamed 81e46db
Add Lexer docstring.
SharafMohamed 9937d44
Update NfaState docstrings.
SharafMohamed db2951b
Improve docstrings in Dfa.hpp.
SharafMohamed 7d13265
Update docstrings in DeterminizationConfiguration; Also, move update_…
SharafMohamed 1b4c21b
Lint.
SharafMohamed 836f587
Merge branch 'determinization' into scan-pair
SharafMohamed 240a379
Remove leftover HEAD from previous commit.
SharafMohamed 58b7a98
Merge branch 'scan-pair' into simulation
SharafMohamed 5c86d3a
Fix bugs from CLP.
SharafMohamed 928589c
Add back CODEOWNERS.
SharafMohamed c7cd662
Set up NFA to handle single-valued tags.
SharafMohamed c7523e8
Merge branch 'main' into single-valued-nfa
SharafMohamed a1548c4
Merge branch 'main' into single-valued-nfa
SharafMohamed 653f997
Change add_delimiters to set_delimiters; Update docstring.
SharafMohamed 4b8d0b9
Move TODO to git issue.
SharafMohamed 66e02d2
Remove accidental q character.
SharafMohamed 1225886
Forward multi_valued argument to tag creation functions.
SharafMohamed 247d6b6
Finish forwarding descendaent_of_repetition to tag creation functions…
SharafMohamed 61bc7ef
Add unit-test for multi-valued tag; Finish handling multi-valued tags…
SharafMohamed 212cd5a
Add another unit-test for capture repetition regex.
SharafMohamed 447491f
Update yscope-dev-utils.
SharafMohamed aa6e3e6
Revert yscope-dev-utils to mains commit.
SharafMohamed d400ad3
Update lexer docstring.
SharafMohamed b341266
Update add_rule docstring.
SharafMohamed 2551bba
Update lexer docstring.
SharafMohamed 3ca636d
Switched to tag_id_to_X_reg_id.
SharafMohamed 457773c
Update initialize_register docstring.
SharafMohamed 1600097
Update src/log_surgeon/finite_automata/DeterminizationConfiguration.hpp
SharafMohamed b94b6db
Update src/log_surgeon/finite_automata/Dfa.hpp
SharafMohamed 643fa29
Update src/log_surgeon/Lexer.hpp
SharafMohamed 5532506
Update m_tag_id_to_final_reg_id everywhere.
SharafMohamed d20afc6
Update src/log_surgeon/finite_automata/DeterminizationConfiguration.hpp
SharafMohamed f9c9443
Improve DeterminizationConfiguration docstring.
SharafMohamed 78f2ce7
Add docstring for functions in DeterminizationConfiguration.
SharafMohamed 4daa7be
Rename get_rule to get_highest_priority_rule.
SharafMohamed d5fdd43
Avoid duplicating tag to reg map.
SharafMohamed 558056e
Improve DFA docstring.
SharafMohamed c2fae19
Merge branch 'determinization' into scan-pair
SharafMohamed 4ebc72b
Merge branch 'single-valued-nfa' into scan-pair
SharafMohamed 8431510
Remove unused param from docstring.
SharafMohamed f3413f2
Merge branch 'main' into scan-pair
SharafMohamed 726e9b5
Merge branch 'main' into scan-pair
SharafMohamed c261077
Merge branch 'scan-pair' into simulation
SharafMohamed 674b7ba
Merge branch 'main' into simulation
SharafMohamed 12e1908
Clean up DFA tests.
SharafMohamed d9d6e71
Fix docstring.
SharafMohamed d8ac124
Use LogParser instead of creating a lexer that behaves exactly like L…
SharafMohamed a7757ab
Move regex AST tests into test-regex-ast.
SharafMohamed b593717
Copied future test cases.
SharafMohamed 612a7a3
Rename test-lexer to test-parser.
SharafMohamed 10a7ec0
Remove failing tests.
SharafMohamed 5aa1a06
Fix backtracking.
SharafMohamed 5e958d0
Remove integer test.
SharafMohamed 0cc35b6
Remove doxygen stuff.
SharafMohamed 728310d
Merge branch 'simulation' into backtrack
SharafMohamed 9caa3c5
Fix integer bug.
SharafMohamed 3bfca1a
Rename test.
SharafMohamed bfae2c1
Merge branch 'simulation' into backtrack
SharafMohamed d51945b
Merge branch 'backtrack' into integer-bugfix
SharafMohamed 275d6d3
Add schema test.
SharafMohamed e95cb97
Merge branch 'simulation' into backtrack
SharafMohamed 65bda1c
Retag to LogParser.
SharafMohamed 19ab8e8
Merge branch 'backtrack' into integer-bugfix
SharafMohamed 9183017
Add missing files.
SharafMohamed 69db303
Update doxygen files.
SharafMohamed ab4c6e5
Update doxygen files.
SharafMohamed b2e6fa1
Update doxygen files again again.
SharafMohamed 540ea9b
Edit mainpage
SharafMohamed c0ce8ef
Seperate changes for PR.
SharafMohamed 5e2cc00
Remove unneeded changes.
SharafMohamed 1652c68
Remove unneeded changes.
SharafMohamed 81f096a
Remove TODO.
SharafMohamed c9aa27a
Fix typo.
SharafMohamed f90a3a1
Correct function name.
SharafMohamed 77cf7b2
Lint.
SharafMohamed dccf59f
Update tests.
SharafMohamed 407ac20
Add tagged simulation.
SharafMohamed 02ae78e
Update error handling for add_variable and add_delimiters; Add unit-t…
SharafMohamed 4a8204e
Add inverse_priority bounds checking; Add more tests for bounds check…
SharafMohamed 6f08e99
Merge branch 'simulation' into backtrack
SharafMohamed 2933ce8
Merge branch 'backtrack' into integer-bugfix
SharafMohamed ffc5d74
Update docstring in src/log_surgeon/Token.hpp.
SharafMohamed 07cbe26
Rename add_context_to_logtype to append_context_to_logtype.
SharafMohamed b4f569b
Update test to be used in buffer-parser instead of log-parser (soon t…
SharafMohamed 4ffe762
Merge branch 'backtrack' into integer-bugfix
SharafMohamed e148f04
Docstring update 1.
SharafMohamed 5a74322
Update docstring for buffer parser without capture groups test.
SharafMohamed 7540c1b
Add docstring for all buffer parser test cases.
SharafMohamed 77c2a48
Add buffer parser test to cmake.
SharafMohamed 5663058
Merge branch 'simulation-support-captures' of https://github.com/Shar…
SharafMohamed 2e301a5
Compilation fix for previous function name change.
SharafMohamed 9a047e9
Lint.
SharafMohamed ab06f0c
Merge branch 'simulation-support-captures' into simulation-buffer-tests
SharafMohamed 97652e4
Merge branch 'simulation-buffer-tests' into simulation
SharafMohamed a17e041
Remove conflict marker.
SharafMohamed 0b997f9
Merge branch 'simulation' into backtrack
SharafMohamed 2a65fb2
Merge branch 'backtrack' into integer-bugfix
SharafMohamed fda91ec
Move test into correct file.
SharafMohamed 1574882
Add docstring for new test cases in buffer parser.
SharafMohamed 0ddb732
Merge branch 'simulation' into backtrack
SharafMohamed 20ba064
Fix test name and tag.
SharafMohamed 3bc5313
Add docstring for new test case.
SharafMohamed e77cb93
Merge branch 'backtrack' into integer-bugfix
SharafMohamed 9814550
Add last docstring for buffer tests.
SharafMohamed 396a549
Delete new unit tests.
SharafMohamed b34399c
Improve naming consitency in test-buffer-parser.cpp.
SharafMohamed 559b337
Merge branch 'simulation-support-captures' into simulation-buffer-tests
SharafMohamed aecd1a6
Merge branch 'simulation-buffer-tests' into simulation
SharafMohamed 7fae265
Improve naming consitency in test-buffer-parser.cpp.
SharafMohamed 135212f
Merge branch 'simulation' into backtrack
SharafMohamed fef817b
Delete duplicate unit test file.
SharafMohamed 1b4373f
Delete duplicate unit test file.
SharafMohamed 6254ef1
Merge branch 'backtrack' into integer-bugfix
SharafMohamed bd9a1d3
Moved TODO to git issue.
SharafMohamed 7a6c9e5
Merge branch 'simulation-support-captures' into simulation-buffer-tests
SharafMohamed 4ecafda
Merge branch 'simulation-buffer-tests' into simulation
SharafMohamed e0e0821
Lint.
SharafMohamed 8673fe8
Merge remote-tracking branch 'upstream/main' into pr-117
davidlion b7430ae
Apply updated clang-format changes.
davidlion af06e46
Merge branch 'simulation-buffer-tests' into simulation
SharafMohamed d7ae722
Merge branch 'simulation' into backtrack
SharafMohamed 5871fcc
Merge branch 'backtrack' into integer-bugfix
SharafMohamed bf6eb63
Update tests/test-buffer-parser.cpp
SharafMohamed 15c60a7
Remove repeated U for raw strings. Delete unused test file.
SharafMohamed bdf3928
Remove TODOs moved to issue.
SharafMohamed dac9b0c
Merge branch 'simulation-buffer-tests' into simulation
SharafMohamed 2aee692
Update name of new tests cases.
SharafMohamed 94014a8
Merge branch 'simulation-buffer-tests' into simulation
SharafMohamed b3310cd
Run linter.
SharafMohamed 4c23525
Merge branch 'simulation' into backtrack
SharafMohamed 36fb7c2
Merge branch 'backtrack' into integer-bugfix
SharafMohamed 022b6d0
Move TODOs into git issues.
SharafMohamed 157591f
Update test case names.
SharafMohamed ba0c78f
Remove return type from process_char.
SharafMohamed ea14ae6
Merge branch 'simulation' into backtrack
SharafMohamed 49a5c10
Merge branch 'backtrack' into integer-bugfix
SharafMohamed b290d94
Fix test case names in schema tests.
SharafMohamed da74d6c
Merge branch 'simulation-buffer-tests' into simulation
SharafMohamed f1e0704
Merge branch 'simulation' into backtrack
SharafMohamed 31cd2db
Merge branch 'backtrack' into integer-bugfix
SharafMohamed fa53a0c
Update tests/test-schema.cpp
SharafMohamed 5c3df7c
Update tests/test-schema.cpp
SharafMohamed 3b3f226
Update test-buffer-parser test names.
SharafMohamed 7b9af31
Merge branch 'simulation-buffer-tests' into simulation
SharafMohamed e239c90
Merge branch 'simulation' into backtrack
SharafMohamed abb5150
Merge branch 'backtrack' into integer-bugfix
SharafMohamed 251c474
Merge branch 'main' into simulation
SharafMohamed 54c6bc6
Update unit-test names.
SharafMohamed b99d5e6
Update src/log_surgeon/finite_automata/Dfa.hpp
SharafMohamed fd8443e
Update src/log_surgeon/finite_automata/Dfa.hpp
SharafMohamed 83993ea
Update tests/test-buffer-parser.cpp
SharafMohamed 38be2bc
Remove doxygen files.
SharafMohamed 74ff1c6
Rename set to set_curr_state.
SharafMohamed 0253e31
Lint.
SharafMohamed f047b65
Use process_state (renamed to process_reg_ops) in process_char.
SharafMohamed 35e30bb
Propogate previous commit changes
SharafMohamed 14782af
Update release_reg_handler.
SharafMohamed eca733b
Update docstring.
SharafMohamed 839a621
Consolidate state information b/w Dfa and Lexer into Lexer.
SharafMohamed 7736f80
Remove TODO.
SharafMohamed 0dfaed9
Update docstrings; Remove process_char from Dfa header.
SharafMohamed e4e3747
Merge branch 'simulation' into backtrack
SharafMohamed 4a8aa6e
Merge branch 'main' into backtrack
SharafMohamed ce3aa99
Merge branch 'backtrack' into integer-bugfix
SharafMohamed 1a8a4c4
Add docs back in.
SharafMohamed 575acd5
Remove TODO.
SharafMohamed d42baeb
Remove optional from member var name.
SharafMohamed 0893ac1
Fix delimiter docstring.
SharafMohamed 2290494
Update test name.
SharafMohamed d6e7a18
Merge branch 'backtrack' into integer-bugfix
SharafMohamed 56a6ae7
Update test name.
SharafMohamed 1eebf2f
Remove redundant lint; Remove TODO.
SharafMohamed 84dd2c7
Merge branch 'main' into integer-bugfix
SharafMohamed 5995eff
Merge branch 'integer-bugfix' into doxygen
SharafMohamed c1f9981
Update tests/test-buffer-parser.cpp
SharafMohamed c42340d
Merge branch 'integer-bugfix' into doxygen
SharafMohamed abaee83
change log_parser to buffer_parser in docs to make sure everything is…
SharafMohamed e2b3f5f
Update README.
SharafMohamed ac3fbd0
Remove the feature to toggle dark mode since its not really working.
SharafMohamed 8df95de
Remove ) typo.
SharafMohamed 059a1c9
Add doxygen.yaml to workflows and taskfiles.
SharafMohamed 61f54ec
Remove : from utils to run relative checksum; Add reference to utils;…
SharafMohamed cf38854
Merge branch 'main' into doxygen
SharafMohamed ccfa116
Merge branch 'doxygen-taskfile' into doxygen
SharafMohamed d37dd53
Run doxygen from the correct directory; Update output directory to be…
SharafMohamed 630c2d0
Lint yaml.
SharafMohamed e973162
Use checkout and artifact v4 instead of v3.
SharafMohamed c0a3d56
Merge branch 'main' into doxygen
SharafMohamed 31a24d3
Install doxygen in workflow.
SharafMohamed b8c1162
Update README.
SharafMohamed a277a1f
Rename tasks and add doxygen dependency to taskfile.
davidlion 24e93d6
Merge commit 'refs/pull/133/head' of https://github.com/y-scope/log-s…
davidlion c683921
Update tasks in readme.
davidlion 876e326
README update.
davidlion e682ebd
Fix typos.
davidlion a9f2bc9
Minimize Doxyfile entries by removing defaults.
davidlion 7308c6b
Switch to markdown headers; Make test cases valid c++ names.
davidlion 955b159
Refactor test names.
davidlion a6c1890
Address offline discussion comments.
davidlion dd0fa3d
Added missing defgroups back.
davidlion 4902fb8
Reflow text.
davidlion d6b59e4
Attempt at renaming unit tests to be more consistent.
davidlion bee0794
More test naming tweaks.
davidlion bd4328a
Pluralize capture groups in multi_valued_capture_1 test as there are …
SharafMohamed 157f5f1
Update tests/test-schema.cpp
SharafMohamed 4fb1f61
Switch doxyfile comments to sentence case.
SharafMohamed d9e6be3
Update docs/doxygen/Doxyfile
SharafMohamed 820b5fe
Update docs/doxygen/mainpage.dox
SharafMohamed a941361
Update taskfiles/docs.yaml
SharafMohamed 0d20c9b
Update taskfiles/docs.yaml
SharafMohamed 419f50f
Update taskfiles/docs.yaml
SharafMohamed 1d611c4
Switch -c -1 back to -c-1
SharafMohamed a92f252
Update README.md
SharafMohamed a4ba9d1
Update README.md
SharafMohamed a064150
Update README.md
SharafMohamed d223cd1
Add run once to http-server.
SharafMohamed b556496
Deduplicate doxygen filename.
SharafMohamed e01f97a
Add quotations to task variable
SharafMohamed 76dd1b2
alphabetize.
SharafMohamed cc148e8
Add docs.yaml to lint task.
SharafMohamed c69dd60
Switch to sentence case for defgroup; Update some documentation for c…
SharafMohamed 5049e39
Lint.
SharafMohamed 0894856
Pin commits.
SharafMohamed File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,46 @@ | ||
| name: "docs" | ||
|
|
||
| on: | ||
| pull_request: | ||
| push: | ||
| schedule: | ||
| # Run daily at 00:15 UTC (the 15 is to avoid periods of high load) | ||
| - cron: "15 0 * * *" | ||
| workflow_dispatch: | ||
|
|
||
| concurrency: | ||
| group: "${{github.workflow}}-${{github.ref}}" | ||
|
|
||
| # Cancel in-progress jobs for efficiency | ||
| cancel-in-progress: true | ||
|
|
||
| jobs: | ||
| build: | ||
| name: "Build docs site" | ||
| runs-on: "ubuntu-latest" | ||
| steps: | ||
| - uses: "actions/checkout@v4" | ||
| with: | ||
| lfs: "true" | ||
| submodules: "recursive" | ||
|
|
||
| - name: "Install task" | ||
| shell: "bash" | ||
| run: "npm install -g @go-task/cli" | ||
|
|
||
| - name: "Build docs" | ||
| shell: "bash" | ||
| run: "task docs:site" | ||
|
|
||
| # Upload the built docs site if we need to debug any issues | ||
| - if: >- | ||
| contains(fromJSON('["push", "workflow_dispatch"]'), github.event_name) | ||
| && ('refs/heads/main' == github.ref || startsWith(github.ref, 'refs/tags/v')) | ||
| uses: "actions/upload-artifact@v4" | ||
| with: | ||
| name: "docs-html" | ||
| path: "build/docs/html" | ||
| if-no-files-found: "error" | ||
|
|
||
| # Retain the artifact for a week | ||
| retention-days: 7 | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| # Project Information | ||
SharafMohamed marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| PROJECT_BRIEF = "Test coverage and internal documentation" | ||
SharafMohamed marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| PROJECT_NAME = "Log Surgeon" | ||
| OUTPUT_DIRECTORY = build/docs/ | ||
|
|
||
| # Input | ||
| INPUT = \ | ||
| docs/doxygen/mainpage.dox \ | ||
| tests/ | ||
| RECURSIVE = YES | ||
|
|
||
| # Source Code Parsing | ||
| EXTRACT_ALL = YES | ||
| EXTRACT_PRIVATE = YES | ||
| EXTRACT_STATIC = YES | ||
| MACRO_EXPANSION = YES | ||
| PREDEFINED = "TEST_CASE(x,y)=void x()" | ||
|
|
||
| # Output | ||
| GENERATE_LATEX = NO | ||
| HTML_DYNAMIC_SECTIONS = YES | ||
| TIMESTAMP = YES | ||
|
|
||
| # Misc | ||
| WARN_AS_ERROR = YES | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| /** @mainpage | ||
| * | ||
| * # Use case examples of schema rules and parsing results: | ||
| * | ||
| * - @ref test_buffer_parser_no_capture "Use basic log parser" | ||
| * - @ref test_buffer_parser_capture "Use captures" | ||
SharafMohamed marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| * - @ref test_buffer_parser_default_schema "Default CLP schema" | ||
| * - @ref test_buffer_parser_delimited_variables "Backtracking on delimited variables" | ||
| * - @ref test_buffer_parser_newline_vars "Identifying variables at the start of a line" | ||
| * | ||
| * # Unit-tests: | ||
| * | ||
| * - @ref unit_tests_capture "Capture" | ||
| * - @ref unit_tests_dfa "DFA" | ||
| * - @ref unit_tests_nfa "NFA" | ||
| * - @ref unit_tests_prefix_tree "Prefix tree" | ||
| * - @ref unit_tests_regex_ast "Regex AST" | ||
| * - @ref unit_tests_register_handler "Register handler" | ||
| * - @ref unit_tests_schema "Schema" | ||
| */ | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,98 @@ | ||
| version: "3" | ||
|
|
||
| includes: | ||
| utils: | ||
| internal: true | ||
| taskfile: "../tools/yscope-dev-utils/exports/taskfiles/utils/utils.yaml" | ||
|
|
||
| vars: | ||
| # General paths | ||
| G_DOCS_BUILD_DIR: "{{.G_BUILD_DIR}}/docs" | ||
| G_DOCS_HTML_DIR: "{{.G_DOCS_BUILD_DIR}}/html" | ||
| G_DOCS_VENV_DIR: "{{.G_DOCS_BUILD_DIR}}/docs-venv" | ||
| G_NODE_DEPS_DIR: "{{.G_DOCS_BUILD_DIR}}/docs-node" | ||
|
|
||
| # Doxygen paths | ||
| G_DOXYFILE_PATH: "{{.ROOT_DIR}}/docs/doxygen/Doxyfile" | ||
| G_DOXYGEN_CMD: "{{.G_DOCS_VENV_DIR}}/bin/doxygen" | ||
|
|
||
| tasks: | ||
| clean: | ||
| cmds: | ||
| - "rm -rf '{{.G_DOCS_BUILD_DIR}}'" | ||
|
|
||
| serve: | ||
| deps: | ||
| - "http-server" | ||
| - "site" | ||
| cmds: | ||
| - "npm --prefix '{{.G_NODE_DEPS_DIR}}' exec -- http-server '{{.G_DOCS_HTML_DIR}}' -c-1" | ||
davidlion marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| site: | ||
| vars: | ||
| CHECKSUM_FILE: "{{.G_BUILD_DIR}}/{{.TASK | replace \":\" \"#\"}}.md5" | ||
| OUTPUT_DIR: "{{.G_DOCS_HTML_DIR}}" | ||
| sources: | ||
| - "{{.G_DOXYFILE_PATH}}" | ||
| - "{{.ROOT_DIR}}/docs/**/*" | ||
| - "{{.ROOT_DIR}}/src/**/*" | ||
| - "{{.ROOT_DIR}}/taskfile.yaml" | ||
| - "{{.ROOT_DIR}}/tests/**/*" | ||
| - "{{.TASKFILE}}" | ||
| generates: ["{{.CHECKSUM_FILE}}"] | ||
| deps: | ||
| - "venv" | ||
| - task: "utils:checksum:validate" | ||
SharafMohamed marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| vars: | ||
| CHECKSUM_FILE: "{{.CHECKSUM_FILE}}" | ||
| INCLUDE_PATTERNS: ["{{.OUTPUT_DIR}}"] | ||
| cmds: | ||
| - |- | ||
| rm -rf "{{.G_DOCS_HTML_DIR}}" | ||
| cd "{{.ROOT_DIR}}" | ||
| {{.G_DOXYGEN_CMD}} "{{.G_DOXYFILE_PATH}}" | ||
SharafMohamed marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| # This command must be last | ||
SharafMohamed marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| - task: "utils:checksum:compute" | ||
| vars: | ||
| CHECKSUM_FILE: "{{.CHECKSUM_FILE}}" | ||
| INCLUDE_PATTERNS: ["{{.OUTPUT_DIR}}"] | ||
|
|
||
| http-server: | ||
SharafMohamed marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| internal: true | ||
| vars: | ||
| CHECKSUM_FILE: "{{.G_BUILD_DIR}}/{{.TASK | replace \":\" \"#\"}}.md5" | ||
| OUTPUT_DIR: "{{.G_NODE_DEPS_DIR}}" | ||
| sources: | ||
| - "{{.ROOT_DIR}}/taskfile.yaml" | ||
| - "{{.TASKFILE}}" | ||
| generates: ["{{.CHECKSUM_FILE}}"] | ||
| deps: | ||
| - ":init" | ||
| - task: "utils:checksum:validate" | ||
| vars: | ||
| CHECKSUM_FILE: "{{.CHECKSUM_FILE}}" | ||
| INCLUDE_PATTERNS: ["{{.OUTPUT_DIR}}"] | ||
| cmds: | ||
| - "rm -rf '{{.OUTPUT_DIR}}'" | ||
| - "npm --prefix '{{.OUTPUT_DIR}}' install http-server" | ||
| # This command must be last | ||
SharafMohamed marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| - task: "utils:checksum:compute" | ||
| vars: | ||
| CHECKSUM_FILE: "{{.CHECKSUM_FILE}}" | ||
| INCLUDE_PATTERNS: ["{{.OUTPUT_DIR}}"] | ||
|
|
||
| venv: | ||
| internal: true | ||
| run: "once" | ||
| deps: | ||
| - ":init" | ||
| cmds: | ||
| - "mkdir -p '{{.G_DOCS_VENV_DIR}}'" | ||
| - task: "utils:remote:download-and-extract-tar" | ||
| vars: | ||
| FILE_SHA256: "e5d6ae24d0bf3f0cdc4d8f146726b89ca323922f19441af99b1872d503665ad6" | ||
| INCLUDE_PATTERNS: | ||
| - "bin" | ||
| OUTPUT_DIR: "{{.G_DOCS_VENV_DIR}}" | ||
| TAR_FILE: "{{.G_DOCS_BUILD_DIR}}/doxygen-1.14.0.linux.bin.tar.gz" | ||
| URL: "https://www.doxygen.nl/files/doxygen-1.14.0.linux.bin.tar.gz" | ||
SharafMohamed marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.