-
Notifications
You must be signed in to change notification settings - Fork 800
Bootstrap ext/random docs with docgen #1916
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
17 commits
Select commit
Hold shift + click to select a range
c3fcdff
Bootstrap ext/random docs with docgen
TimWolla 1b895db
Update ext/random versions
TimWolla c2cab65
random: Fix position in extensions.xml
TimWolla 2ca9476
Hook up class and interface pages
cmb69 b399acd
random: Use `&extension.constants.core;`
TimWolla 473fe6e
random: Drop useless book.developer.xml
TimWolla 91d72ec
random: Configure a proper book title
TimWolla bed096e
random: Add refpurpose to all methods
TimWolla c9f249c
random: Add `&return.void;`
TimWolla 018f238
random: Add introduction to all engines
TimWolla 7d10e1d
random: Add introduction to Randomizer
TimWolla 09c519e
random: Add default value for Randomizer::__construct()'s engine
TimWolla e123356
random: Add missing modifiers to Randomizer::$engine
TimWolla afcd87b
random: Make interfaces actually interfaces
TimWolla 4910926
random: Add description to BrokenRandomEngineError
TimWolla 8fccb07
random: Add `final` modifier to relevant classes
TimWolla 2d16e83
Remove trailing whitespace
cmb69 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
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,52 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<book xml:id="book.random" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> | ||
<?phpdoc extension-membership="core" ?> | ||
<title>Random Number Generators and Functions Related to Randomness</title> | ||
<titleabbrev>random</titleabbrev> | ||
|
||
<preface xml:id="intro.random"> | ||
&reftitle.intro; | ||
<para> | ||
|
||
</para> | ||
</preface> | ||
|
||
&reference.random.setup; | ||
&reference.random.constants; | ||
&reference.random.examples; | ||
&reference.random.reference; | ||
|
||
&reference.random.random.randomizer; | ||
|
||
&reference.random.random.engine; | ||
&reference.random.random.engine.mt19937; | ||
&reference.random.random.engine.pcgoneseq128xslrr64; | ||
&reference.random.random.engine.xoshiro256starstar; | ||
&reference.random.random.cryptosafeengine; | ||
&reference.random.random.engine.secure; | ||
|
||
&reference.random.random.randomerror; | ||
&reference.random.random.brokenrandomengineerror; | ||
&reference.random.random.randomexception; | ||
|
||
</book> | ||
<!-- Keep this comment at the end of the file | ||
Local variables: | ||
mode: sgml | ||
sgml-omittag:t | ||
sgml-shorttag:t | ||
sgml-minimize-attributes:nil | ||
sgml-always-quote-attributes:t | ||
sgml-indent-step:1 | ||
sgml-indent-data:t | ||
indent-tabs-mode:nil | ||
sgml-parent-document:nil | ||
sgml-default-dtd-file:"~/.phpdoc/manual.ced" | ||
sgml-exposed-tags:nil | ||
sgml-local-catalogs:nil | ||
sgml-local-ecat-files:nil | ||
End: | ||
vim600: syn=xml fen fdm=syntax fdl=2 si | ||
vim: et tw=78 syn=sgml | ||
vi: ts=1 sw=1 | ||
--> |
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,49 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<appendix xml:id="random.constants" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> | ||
&reftitle.constants; | ||
&extension.constants.core; | ||
<para> | ||
<variablelist> | ||
<varlistentry xml:id="constant.mt-rand-mt19937"> | ||
<term> | ||
<constant>MT_RAND_MT19937</constant> | ||
(<type>integer</type>) | ||
</term> | ||
<listitem> | ||
<simpara> | ||
</simpara> | ||
</listitem> | ||
</varlistentry> | ||
<varlistentry xml:id="constant.mt-rand-php"> | ||
<term> | ||
<constant>MT_RAND_PHP</constant> | ||
(<type>integer</type>) | ||
</term> | ||
<listitem> | ||
<simpara> | ||
</simpara> | ||
</listitem> | ||
</varlistentry> | ||
</variablelist> | ||
</para> | ||
</appendix> | ||
<!-- Keep this comment at the end of the file | ||
Local variables: | ||
mode: sgml | ||
sgml-omittag:t | ||
sgml-shorttag:t | ||
sgml-minimize-attributes:nil | ||
sgml-always-quote-attributes:t | ||
sgml-indent-step:1 | ||
sgml-indent-data:t | ||
indent-tabs-mode:nil | ||
sgml-parent-document:nil | ||
sgml-default-dtd-file:"~/.phpdoc/manual.ced" | ||
sgml-exposed-tags:nil | ||
sgml-local-catalogs:nil | ||
sgml-local-ecat-files:nil | ||
End: | ||
vim600: syn=xml fen fdm=syntax fdl=2 si | ||
vim: et tw=78 syn=sgml | ||
vi: ts=1 sw=1 | ||
--> |
27 changes: 19 additions & 8 deletions
27
reference/csprng/versions.xml → reference/random/examples.xml
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
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
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.