-
Notifications
You must be signed in to change notification settings - Fork 3
Command-line datadoc script #281
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 all commits
Commits
Show all changes
80 commits
Select commit
Hold shift + click to select a range
f236698
Updated dataset, including the following changes:
jesper-friis 94fa59a
Added new TableDoc class providing a table interface for data documen…
jesper-friis 028054f
Import indir/outdir inside test functions
jesper-friis ef5239a
Fixed doctest issue
jesper-friis 331878a
Skip test_tabledoc if rdflib isn't available
jesper-friis 5fe9cf7
More pylint fixes...
jesper-friis 4aaeed8
Placed importskip before importing EMMO
jesper-friis 0f21fbb
typo
jesper-friis 9e34414
Merge branch 'master' into tabledoc
jesper-friis 4cc88cb
Fixed pylint errors
jesper-friis 92b213d
added csv file
jesper-friis ae20a0a
Added csv parser
jesper-friis 543e99e
Updated the test
jesper-friis b3e3d07
[pre-commit.ci] auto fixes from pre-commit hooks
pre-commit-ci[bot] 700c514
Fixed failing tests
jesper-friis 0320905
Merge branch 'tabledoc-csv' of github.com:EMMC-ASBL/tripper into tabl…
jesper-friis 4d7d77a
Added encoding to keyword arguments
jesper-friis 8004867
Strip off blanks when parsing a table.
jesper-friis 731253c
Added extra test to ensure that all properties are parsed correctly
jesper-friis 60b0c6d
Added write_csv() method to TableDoc
jesper-friis d26d92f
Save serialised documentation to turtle file.
jesper-friis 66b9dd7
Apply suggestions from code review
jesper-friis 575f09d
Apply suggestions from code review
jesper-friis f45376d
Added a clarifying comment as a responce to review comment by @torhaugl.
jesper-friis fa5a5c0
Merge branch 'tabledoc' into tabledoc-csv
jesper-friis 1752db0
Fix test failure
jesper-friis 33600be
Merge branch 'master' into tabledoc
jesper-friis 33181b5
Merge branch 'tabledoc' into tabledoc-csv
jesper-friis 9b53f5e
Added `context` argument to get_jsonld_context()
jesper-friis 26ee518
Added `context` argument to get_prefixes()
jesper-friis 568abd7
Added `context? argument to get_shortnames()
jesper-friis 2988a32
Updated .gitignore files
jesper-friis 36736e7
Merge branch 'tabledoc-csv' into dataset-todos
jesper-friis 841a74d
Added documentation for the dataset sub-package
jesper-friis 39c9c1a
Added return annotation to utils.openfile()
jesper-friis 4302dde
Try to avoid pytest failure during collection phase.
jesper-friis 8f727c7
Remove --ignore=examples from pytest options in pyproject.toml
jesper-friis 065e893
Fix CI doctest bug
torhaugl dd92304
[pre-commit.ci] auto fixes from pre-commit hooks
pre-commit-ci[bot] 4241295
Use relative import from __init__.py file
jesper-friis 38e0483
Updated documentation
jesper-friis 8756727
Added types (literal/iri) to datadoc-keywords.md and reordered contex…
jesper-friis ff4d077
Separated the data documentation introduction into an own page.
jesper-friis c7709ae
Added a section about customisation to the documentation
jesper-friis 1a1cbad
Update docs/dataset/customisation.md
jesper-friis 3f30c00
Update docs/dataset/customisation.md
jesper-friis c69dd23
Documented custum context
jesper-friis 1583942
Merge branch 'dataset-docs' of github.com:EMMC-ASBL/tripper into data…
jesper-friis 5686804
Added example with custom context
jesper-friis abbef4b
Correct example
jesper-friis cfb2419
Merge branch 'master' into tabledoc-csv
jesper-friis 85a51ae
[pre-commit.ci] auto fixes from pre-commit hooks
pre-commit-ci[bot] cf78a86
Merge branch 'tabledoc-csv' into dataset-todos
jesper-friis 9561f1f
Merge branch 'dataset-todos' into dataset-docs
jesper-friis b61b00c
Merge branch 'master' into dataset-todos
jesper-friis 13d43cf
Merge branch 'dataset-todos' into dataset-docs
jesper-friis aa99eec
Added datadoc tool
jesper-friis 638e29e
Merge branch 'dataset-docs' into datadoc
jesper-friis d2d9618
Merge branch 'master' into dataset-docs
jesper-friis 9529791
Merge branch 'master' into datadoc
jesper-friis e46f044
Merge branch 'datadoc' of github.com:EMMC-ASBL/tripper into datadoc
jesper-friis 8dbe71a
Removed duplicated tests
jesper-friis e054557
Removed duplicated test
jesper-friis e10df23
Merge branch 'dataset-docs' into datadoc
jesper-friis 58974e8
Updated URL after branch dataset-docs has been merged to master.
jesper-friis 23eb2ff
Merge branch 'master' into datadoc
jesper-friis 726e9ac
Updated tabledoc test
jesper-friis 3d64b34
Added more tests
jesper-friis 2773d23
Skip test_fromdicts() if rdflib isn't available
jesper-friis b195a0d
Merge branch 'master' into datadoc
jesper-friis 972cca4
Documented the datadoc tool
jesper-friis efe045f
Merge branch 'datadoc' of github.com:EMMC-ASBL/tripper into datadoc
jesper-friis 9851fa8
Added documentation of isDescriptionFor
jesper-friis 59c7f09
Updated mkdocs and fixed link warnings
jesper-friis 462742f
Minor documentation update
jesper-friis 2ec8371
Fix failing test
jesper-friis 883fe41
Fix failing test
jesper-friis af9709b
Merge branch 'datadoc-bak' into datadoc
jesper-friis 1c6ee69
Added load sub-command to tabledoc
jesper-friis 54523e2
Apply suggestions from code review
jesper-friis 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,3 @@ | ||
| # datadoc | ||
|
|
||
| ::: tripper.dataset.datadoc |
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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is documentation that is not checked with doctext, so I think it is fine to keep the ellipsis. Changing from json to python removes the strict syntax checking on github