Skip to content
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

Add documentation #8

Merged
merged 1 commit into from
Sep 16, 2021
Merged

Add documentation #8

merged 1 commit into from
Sep 16, 2021

Conversation

dimakuv
Copy link

@dimakuv dimakuv commented Sep 10, 2021

Documentation config is taken from the core Gramine repo and slightly modified (C specific configs are replaced/removed). The main text is taken from the core repo's manpages/gsc.rst.

NOTE: This commit ideally would be merged after commits that modify GSC files to use gramine words everywhere instead of graphene. Because the description of GSC is updated in this commit to use these gramine commands. But on the other hand, it's Ok to have a slightly wrong docs for one commit (this makes merging PRs in different repos easier).


This change is Reviewable

Copy link
Member

@mkow mkow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 11 of 11 files at r1, all commit messages.
Reviewable status: all files reviewed, 6 unresolved discussions, not enough approvals from maintainers (1 more required), not enough approvals from different teams (1 more required, approved so far: Intel) (waiting on @dimakuv)


-- commits, line 5 at r2:
C specific -> C-specific


Documentation/index.rst, line 9 at r2 (raw file):

.. warning::
    GSC is still under development and must not be used in production! Please
    see `issue #1520 <https://github.com/gramineproject/graphene/issues/1520>`__

I moved this to #13, could you fix up the link?


Documentation/index.rst, line 400 at r2 (raw file):

Graine

Another candidate for the new name? ;P


Documentation/index.rst, line 454 at r2 (raw file):

This document focuses on the most important limitations of GSC.
`Issue #1520 <https://github.com/gramineproject/graphene/issues/1520>`__

ditto


Documentation/index.rst, line 510 at r2 (raw file):

   sgx.trusted_files = [ "file:excluded_file1", "file:excluded_file2" ]
   or
   sgx.allowed_files = [ "file:excluded_file3", "file:excluded_file4" ]

This "excluded" may be confusing, sounds like you're adding here more files to be excluded.


Documentation/requirements.txt, line 3 at r2 (raw file):

sphinx==1.8.0
breathe<4.13.0
sphinx_rtd_theme

Could you update this to sphinx_rtd_theme<1? (context: gramineproject/gramine#62)

Documentation config is taken from the core Gramine repo and slightly
modified (C-specific configs are replaced/removed). The main text is
taken from the core repo's `manpages/gsc.rst`. Note that the description
of GSC is updated to use `gramine` word everywhere.

Signed-off-by: Dmitrii Kuvaiskii <[email protected]>
Copy link
Author

@dimakuv dimakuv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: 9 of 11 files reviewed, 6 unresolved discussions, not enough approvals from maintainers (1 more required), not enough approvals from different teams (1 more required, approved so far: Intel) (waiting on @mkow)


-- commits, line 5 at r2:

Previously, mkow (Michał Kowalczyk) wrote…

C specific -> C-specific

Done.


Documentation/index.rst, line 9 at r2 (raw file):

Previously, mkow (Michał Kowalczyk) wrote…

I moved this to #13, could you fix up the link?

Done.


Documentation/index.rst, line 400 at r2 (raw file):

Previously, mkow (Michał Kowalczyk) wrote…
Graine

Another candidate for the new name? ;P

Done.


Documentation/index.rst, line 454 at r2 (raw file):

Previously, mkow (Michał Kowalczyk) wrote…

ditto

Done.


Documentation/index.rst, line 510 at r2 (raw file):

Previously, mkow (Michał Kowalczyk) wrote…

This "excluded" may be confusing, sounds like you're adding here more files to be excluded.

Done.


Documentation/requirements.txt, line 3 at r2 (raw file):

Previously, mkow (Michał Kowalczyk) wrote…

Could you update this to sphinx_rtd_theme<1? (context: gramineproject/gramine#62)

Done.

Copy link
Member

@mkow mkow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 2 of 2 files at r3, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@mkow mkow merged commit 1ccb449 into master Sep 16, 2021
@mkow mkow deleted the dimakuv/add-docs branch September 16, 2021 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants