Update docs

pull/3094/head
ninabreznik 7 years ago
parent 14ac1a703c
commit 858eb000ac
  1. 39
      docs/analysis_tab.md
  2. 2
      docs/conf.py
  3. 7
      docs/debugger_tab.md
  4. 18
      docs/file_explorer.md
  5. 66
      docs/index.md
  6. 7
      docs/quickstart_javascript_vm.md
  7. 4
      docs/run_tab.md
  8. 2
      docs/support.md
  9. 6
      docs/support_tab.md
  10. 6
      docs/tutorial_connect_remix_with_your_filesystem.md
  11. 4
      docs/tutorial_debug.md
  12. 4
      docs/tutorial_import.md
  13. 6
      docs/udapp.md

@ -11,24 +11,23 @@ can help you avoid code mistakes and to enforce best practices.
Here is the list of analyzers:
> - Security:
> : - Transaction origin: Warns if tx.origin is used
> - Check effects: Avoid potential reentrancy bugs
> - Inline assembly: Use of Inline Assembly
> - Block timestamp: Semantics maybe unclear
> - Low level calls: Semantics maybe unclear
> - Block.blockhash usage: Semantics maybe unclear
>
> - Gas & Economy:
> : - Gas costs: Warns if the gas requirements of the functions
> are too high
> - This on local calls: Invocation of local functions via
> this
>
> - Miscellaneous:
> : - Constant functions: Checks for potentially constant
> functions
> - Similar variable names: Checks if variable names are too
> similar
>
Security:
- Transaction origin: Warns if tx.origin is used
- Check effects: Avoid potential reentrancy bugs
- Inline assembly: Use of Inline Assembly
- Block timestamp: Semantics maybe unclear
- Low level calls: Semantics maybe unclear
- Block.blockhash usage: Semantics maybe unclear
Gas & Economy:
- Gas costs: Warns if the gas requirements of the functions
are too high
- This on local calls: Invocation of local functions via
this
Miscellaneous:
- Constant functions: Checks for potentially constant
functions
- Similar variable names: Checks if variable names are too
similar

@ -303,3 +303,5 @@ source_parsers = {'.md': CommonMarkParser}
# 'enable_auto_doc_ref': True,
# }, True)
# app.add_transform(AutoStructify)
http://

@ -8,8 +8,5 @@ features).
![image](images/remix_debuggertab.png)
For more information about debugging, click on the following link:
.. toctree::
:maxdepth: 2
tutorial_debug.md
For more information about debugging, see the [Tutorial on debugging transactions with Remix
](http://remix.readthedocs.io/en/latest/tutorial_debug.html)

@ -20,7 +20,7 @@ the right:
Create new File
---------------
Creates a new file in the browser explorer.
Creates a new `untitled.sol` file in Remix.
Add Local File
--------------
@ -31,16 +31,22 @@ the Remix browser storage.
Publish to Gist
---------------
Publishes files from the browser storage to an anonymous public gist.
Publishes all files from the browser folder to a gist.
Gist API has changed in 2018 and it unfortunately requires users to be authenticated to be able to publish a gist.
Copy to another instance
Under https://github.com/settings/tokens select Generate new token.
Then check only Create gists checkbox and generate a new token.
Then paste it in Remix (right panel/Settings tab) and click Save. Now you should be able to use the feature.
Copy to another Remix instance
------------------------
Enables you to copy files from the browser storage to another instance
(URL) of Remix.
Connect to Localhost
Connect your filesystem to Remix
--------------------
Allows to use file located in your file system (see
../tutorial\_remixd\_filesystem).
Allows to sync between Remix and your local file system (see
[more about RemixD][http://remix.readthedocs.io/en/latest/tutorial_connect_remix_with_your_filesystem.html]).

@ -0,0 +1,66 @@
Welcome to Remix documentation!
===============================
Remix is a powerful, open source tool that helps you write Solidity contracts straight from the browser.
Written in Javascript, Remix supports both usage in the browser or locally.
Remix also supports testing, debugging and deploying of smart contracts and much more.
Our Remix project with all its features is available
at [remix.ethereum.org](http://remix.ethereum.org). More information about how to use it can be found in this
documentation and the source code of the project is available at [our GitHub repository]
(https://github.com/ethereum/remix-id).
This set of documents covers instructions on how to use Remix and some tutorials to help you get started.
.. quick-start:
.. toctree::
:maxdepth: 2
:caption: Quick start
solidity_editor
compile_tab
quickstart_javascript_vm
.. deploy and test:
.. toctree::
:maxdepth: 2
:caption: Deploy and test
run_tab
udapp
.. _other-remix-features:
.. toctree::
:maxdepth: 2
:caption: Other Remix features
file_explorer
debugger_tab
analysis_tab
terminal
.. _tutorials and workshops:
.. toctree::
:maxdepth: 2
:caption: Tutorials and workshops
workshop_Building_smart_contracts_with_Remix
tutorial_connect_remix_with_your_filesystem
tutorial_debug
tutorial_import
tutorial_mist
.. _code-contribution-guide:
.. toctree::
:maxdepth: 2
:caption: Code contribution guide
code_contribution_guide
support

@ -2,8 +2,7 @@ Quick Start using the JavaScript VM
===================================
There are 3 type of environments Remix can be plugged to:
`Javascript VM`, `Injected provider`, or `Web3 provider`. (see
../run\_tab)
`Javascript VM`, `Injected provider`, or `Web3 provider`. (for details see [Running transactions](http://remix.readthedocs.io/en/latest/run_tab.html))
Both `Web3 provider` and `Injected provider` require the use of an
external tool.
@ -26,8 +25,7 @@ should have 100 ether.
Sample contract
---------------
::
``` {.sourceCode .none}
pragma solidity ^0.4.16;
contract testContract {
@ -49,6 +47,7 @@ contract testContract {
return value;
}
}
```
This contract is very basic. The goal is to quickly start to create and
to interact with a sample contract.

@ -120,8 +120,7 @@ Input parameters are `1` and
all these transactions are created using the value of the accounts
`account{0}`.
::
``` {.sourceCode .none}
{
"accounts": {
"account{0}": "0xca35b7d915458ef540ade6068dfe2f44e8fa733c"
@ -276,3 +275,4 @@ all these transactions are created using the value of the accounts
]
}
}
```

@ -3,7 +3,7 @@ Support chat
We know that blockchain ecosystem is very new and that lots of information is scattered around the web.
That is why we created a community support chat where we and other users try to answer your questions if
you get stuck using Remix. Please, join [the chat](https://gitter.im/ethereum/remix) and ask community for help.
you get stuck using Remix. Please, join [the Remix channel](https://gitter.im/ethereum/remix) and ask community for help.
For anyone who is interested in developing a custom plugin for Remix or who wants to contribute to the codebase,
we opened [another channel](https://gitter.im/ethereum/remix-dev) specially for developers working on Remix tool.

@ -1,9 +1,9 @@
Support
=======
Support tab in Remix
======================
This section provides a link to Remix Issues where users can report a
bug or suggest a feature, as well as providing other useful links. It
also displays a [Remix developers'
also displays a [Remix support
channel](http://gitter.im/ethereum/remix)
![image](images/remix_supporttab.png)

@ -19,10 +19,10 @@ and `Remixd`.
Be sure the user executing Remix has read/write permission on the
folder.
> **warning**
**Warning!**
> Remixd provides full read and write access to the given folder for any
> application that can access the TCP port 65520 on your local host.
`Remixd provides full read and write access to the given folder for any
application that can access the TCP port 65520 on your local host.`
From `Remix IDE`, you will need to activate the connection.

@ -1,5 +1,5 @@
Debugging a Transaction
=======================
Tutorial on debugging transactions with Remix
===============================================
The goal of this tutorial is to explain how to debug transaction using
Remix.

@ -6,8 +6,8 @@ This tutorial will show you how to import local and external files.
The compilation result will also contain contracts implemented in the
imported files.
For a detailed explanation of the `import` keyword see the `Solidity`
[documentation](https://solidity.readthedocs.io/en/develop/layout-of-source-files.html?highlight=import#importing-other-source-files)
For a detailed explanation of the `import` keyword see the
[Solidity documentation](https://solidity.readthedocs.io/en/develop/layout-of-source-files.html?highlight=import#importing-other-source-files)
Importing a local file
----------------------

@ -4,18 +4,22 @@ Deployed contracts
This section in the Run tab contains a list of deployed contracts to interact with through autogenerated UI of the deployed contract (also called udapp).
Several cases apply:
: - The called function is declared as `constant` or `pure` in
- The called function is declared as `constant` or `pure` in
Solidity. The action has a blue background, clicking it does not
create a new transaction. Clicking it is not necessary because
there are not state changes - but it will update the return
value of the function.
- The called function has no special keywords. The action has a
light red background, clicking on does create a new transaction.
But this transaction cannot accept any amount of Ether.
- The called function is declared as `payable` in Solidity. The
action has a red background, clicking it does create a new
transaction and this transaction can accept value.
For more information about Solidity modifier, see [Solidity
modifier](http://solidity.readthedocs.io/en/develop/miscellaneous.html?highlight=pure#modifiers)
.

Loading…
Cancel
Save