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

docs: fix wrong link #4

Closed
wants to merge 1 commit into from
Closed

docs: fix wrong link #4

wants to merge 1 commit into from

Conversation

orisano
Copy link

@orisano orisano commented Jul 17, 2019

No description provided.

@mysql-oca-bot
Copy link

Hi, thank you for submitting this pull request. In order to consider your code we need you to sign the Oracle Contribution Agreement (OCA). Please review the details and follow the instructions at http://www.oracle.com/technetwork/community/oca-486395.html
Please make sure to include your MySQL bug system user (email) in the returned form.
Thanks

nawazn pushed a commit that referenced this pull request Jul 22, 2019
This push introduces the following enhancements to the help system:
1) Adds member naming style resolution even for Doxygen generated help.
2) Adds support for <br> in shell help.
3) Replaces <code></code> for @code @Endcode

Collateral change: detected that <code> was being used in a wrong way to
create a hardcoded formatting on the Command Line integration help. Have
reformatted that help to use standard formating.

Naming Style Resolution in Doxygen
----------------------------------
Resolution of member names has been supported in the shell help by simply
enclosing the member name as <<<camelCaseMemberName>>>.

However this did not work for Doxygen and we ended adding chunks of help
defined between DOXYGEN_JS/DOXYGEN_PY whenever we wanted to refer to another
member on the help.

Now this resolution also works for Doxygen as long as it is defined in any
of the REGISTER_*HELP* macros, this is, does not work if using <<<>>> directly
in doxygen comments.

Support for <br>
----------------
This is simply handy, it will be rendered as a new line character on the
shell help.

New Code Commands
-----------------
It was detected that <code></code> were not achieving the desired effect in
the Doxygen docs (which is creating a code snippet). For this reason we have
replaced it in the shell to use @code and @Endcode commands instead.

Suggestion that whenever @code is required, the help is registered using the
new REGISTER_*HELP* macros that allow defining the entire help in a multiline
text definition, reason for this is because whatever spacing you use, it will
be rendered that way with no extra effort.

If not done that way you will have to give the desired formatting to the
text, i.e. adding new lines, using &nbsp, etc.

For examples about #1 look at the changes in mod_shell.cc
For examples about #3 the good way, look at the changes in
mod_mysqlx_collection.cc
For examples about #4 the bad way, look at the changes in mod_util.cc

Change-Id: I50e0812d86efa528abde8c690d96157c103ac66d
@mysql-admin
Copy link

@orisano Thanks for pointing this out.
I have logged an internal bug to correct the wrong links in the README file and it will be fixed in the next release.
Thanks
==Omer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants