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

Cutter docs update #2259

Merged
merged 14 commits into from
Jul 26, 2020
Merged

Cutter docs update #2259

merged 14 commits into from
Jul 26, 2020

Conversation

Surendrajat
Copy link
Member

@Surendrajat Surendrajat commented Jun 21, 2020

Some updates to the Cutter docs.

Your checklist for this pull request

Detailed description
This PR has the following:

  • Move building errors from common errors to building page and move rest under user-docs/common-issues
  • Title capitalization (IDK I'm obsessed with it xD)
  • Updated troubleshooting part with git submodule related error
  • Apply Grammarly suggestions on all the docs

Test plan (required)
Build and run docs.

Closing issues
Partially close$ #744

@Surendrajat Surendrajat marked this pull request as draft June 21, 2020 02:14
@Surendrajat Surendrajat mentioned this pull request Jun 27, 2020
3 tasks
@Surendrajat Surendrajat marked this pull request as ready for review June 27, 2020 13:05
@Surendrajat
Copy link
Member Author

I've added a widget page with few moving screenshots(WIP). Let me know what you think.

@Surendrajat Surendrajat changed the title Cutter docs update [WIP] Cutter docs update Jun 27, 2020
@karliss
Copy link
Member

karliss commented Jun 27, 2020

I would be much happier if documentation was moved to separate repository before adding a bunch of screenshots for all the widgets and dialogs. Those could quickly cause bloat.

@XVilka
Copy link
Member

XVilka commented Jun 27, 2020 via email

@Surendrajat
Copy link
Member Author

I see #2056 open for just this. If it's done I can move things there.
As for submodule, I think it'll add additional commits to this repo on each update to docs, which will probably be better if avoided. How about splitting API docs and other docs and leave API docs here?

@Surendrajat Surendrajat marked this pull request as draft July 16, 2020 14:04
@ITAYC0HEN
Copy link
Member

You might want to consider adding the :menuselection: and :guilabel: to the docs as part of this or another PR. @karliss found these features just recently

https://www.sphinx-doc.org/en/master/usage/restructuredtext/roles.html

@Surendrajat Surendrajat changed the title [WIP] Cutter docs update Cutter docs update Jul 21, 2020
@Surendrajat Surendrajat force-pushed the docs-update branch 2 times, most recently from b3f8346 to 4528ae9 Compare July 21, 2020 16:21
@Surendrajat Surendrajat marked this pull request as ready for review July 21, 2020 16:45
@Surendrajat
Copy link
Member Author

@karliss I've removed the widget intro part and will open another PR to continue work on that until we decide if to split repo or not.

@Surendrajat Surendrajat requested a review from a team July 21, 2020 17:05
docs/source/index.rst Outdated Show resolved Hide resolved
Copy link
Member

@ITAYC0HEN ITAYC0HEN left a comment

Choose a reason for hiding this comment

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

Fantastic work!

docs/source/building.rst Outdated Show resolved Hide resolved
docs/source/building.rst Outdated Show resolved Hide resolved
docs/source/building.rst Outdated Show resolved Hide resolved
``/usr/local/bin``). That can be, for example, due to ``Qt Creator.app``
being copied over to ``/Applications``. To fix this, append
``:/usr/local/bin`` to the ``PATH`` variable within the *Build
Environment* section in Qt Creator. See the screenshot below should you
Copy link
Member

Choose a reason for hiding this comment

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

Only Qt Creator?

Copy link
Member Author

@Surendrajat Surendrajat Jul 22, 2020

Choose a reason for hiding this comment

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

I copied it from common-errors :( Not much idea. Will see what I can do :P

Comment on lines 334 to 340
- ``PKG_CONFIG_PATH=$HOME/cutter/radare2/pkgcfg qmake`` (for modern
version and if radare2 was installed like the submodule)
Copy link
Member

Choose a reason for hiding this comment

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

What is this "modern version"? Maybe should be more specific (e.g for versions newer than 1.2.3.4, ....)

Copy link
Member

Choose a reason for hiding this comment

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

Would rephrase "was installed like the submodule" because the meaning isn't that clear

docs/source/contributing/code/development-guidelines.rst Outdated Show resolved Hide resolved
docs/source/user-docs/command-line.rst Outdated Show resolved Hide resolved

If the Linux AppImage binary crashes upon startup, make sure your
``LD_LIBRARY_PATH`` environment variable is empty.
`#579 <https://github.com/radareorg/cutter/issues/579>`__
Copy link
Member

Choose a reason for hiding this comment

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

Seems like this weird number is just thrown there out of no-where. Try to add an opening sentence to introduce the number. "For a detailed explanation see issue #1234"

docs/source/user-docs/menus/disassembly-context-menu.rst Outdated Show resolved Hide resolved
----------------------------------------
**Description:** Continue the execution of the program until reached the selected offset. The program is not guaranteed to ever reach this address and will keep running until exited or until reached another breakpoint. If other breakpoints hit before reaching this line, they will be triggered and pause the execution. *This option is only available on Debug or Emulation modes*.

**Steps:** While in Debug or Emulation modes, right-click and address and choose ``Debug -> Continue until line``.

Set Program Counter (PC)
----------------------------------------
**Description:** Set the Program Counter of the debuggee to the current offset. For example, on Intel 64bit program, Cutter will set the value of the RIP register to the curren address. *This option is only available on Debug or Emulation modes*.
**Description:** Set the Program Counter of the debugger to the current offset. For example, on a Intel 64bit program, Cutter will set the value of the RIP register to the current address. *This option is only available on Debug or Emulation modes*.
Copy link
Member

Choose a reason for hiding this comment

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

The "debuggee" here is intentional -> https://wikidiff.com/debugger/debuggee

@ITAYC0HEN
Copy link
Member

is there anything left to do?

@Surendrajat
Copy link
Member Author

is there anything left to do?

Yes. Finishing right away. :P

Copy link
Member

@ITAYC0HEN ITAYC0HEN left a comment

Choose a reason for hiding this comment

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

Looks good! I love this pr :)

@Surendrajat Surendrajat merged commit 79b2314 into rizinorg:master Jul 26, 2020
@Surendrajat Surendrajat deleted the docs-update branch July 26, 2020 04:59
@Surendrajat Surendrajat mentioned this pull request Jul 26, 2020
3 tasks
karliss referenced this pull request in karliss/cutter-docs Aug 15, 2020
* move building errors to the troubleshooting section

* add submodule out of sync issue to troubleshooting

* changes to get cutter section

* move common issues to user docs

* add error related to submodule not in sync

* Grammarly scan on all the docs

* update contribution guide now that common-errors is split
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants