Coder Social home page Coder Social logo

bitcoin-dot-org / developer.bitcoin.org Goto Github PK

View Code? Open in Web Editor NEW
181.0 16.0 138.0 9.69 MB

Bitcoin.org Developer Documentation

Home Page: https://developer.bitcoin.org/

License: Other

Makefile 0.50% Python 53.49% Ruby 27.94% Gnuplot 0.33% HTML 14.93% CSS 2.81%
bitcoin blockchain cryptocurrency developer-documentation p2p

developer.bitcoin.org's People

Contributors

6102bitcoin avatar alexchorman avatar brunoerg avatar cobra-bitcoin avatar cornelius avatar l33d4n avatar onyb avatar schmijos avatar tnull avatar tushar-1728 avatar vasild avatar vsus avatar wbnns avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

developer.bitcoin.org's Issues

Footer should match bitcoin.org

The footer should be updated so that it is exactly the same as bitcoin.org (including links):

Screen Shot 2020-03-11 at 20 37 25

instead of:

Screen Shot 2020-03-11 at 20 39 28

Cc: @alexcherman

Set up a custom domain for docs

Ideas:

  • bitcoindocumentation.com
  • bitcoindev.info (or .org, .io)
  • bitcoindocs.io
  • btcdeveloper.io
  • btcdevdocs.com
  • bitcoindevdocs.com
  • bitcoindeveloperdocs.com

layout: Warning when building html

Run make html to reproduce:

/usr/local/lib/python3.7/site-packages/themes/sphinxbootstrap4theme/layout.html:20: RemovedInSphinx30Warning: To modify script_files in the theme is deprecated. Please insert a <script> tag directly in your theme instead.

Add SVG logo

We should use an SVG logo instead of a PNG to improve quality and responsiveness across devices:

CleanShot 2020-05-21 at 11 09 03

Search is broken

To reproduce, try to use the search feature.

Result (search page that gets stuck 'Searching', with no results for query):

image

Note, could be related to the following warning when building (#12):

writing additional pages... search/usr/local/lib/python3.7/site-packages/themes/sphinxbootstrap4theme/search.html:20: RemovedInSphinx30Warning: To modify script_files in the theme is deprecated. Please insert a <script> tag directly in your theme instead.
  {% trans %}From here you can search these documents. Enter your search

search: Warning when building html

Run make html to reproduce:

search/usr/local/lib/python3.7/site-packages/themes/sphinxbootstrap4theme/search.html:20: RemovedInSphinx30Warning: To modify script_files in the theme is deprecated. Please insert a <script> tag directly in your theme instead.
  {% trans %}From here you can search these documents. Enter your search

Fix "Edit this page on GitHub" link

There is a "edit this page on GitHub" link at the bottom of the left side of each page, which doesn't lead to GitHub, but to the text sources of the page. It should go to the GitHub page where the content can be edited.

Adapt link to issues page

reference/p2p_networking.html links to the GitHub issues of the docs repository in the "Protocol versions" section. This needs to be adapted to link to the bitcoin-dev-docs repo (when we have detached from the automatic import of the original docs).

Replace links with embedded URLs by link references and targets

Due to the conversion of the docs from Markdown to RST, most links were created with embedded URLs, e.g.

`text <url>`__

This causes some duplication and makes the RST sources a bit less readable compared to using explicit link references and targets, e.g.:

text_

.. _text: url

It would be better to convert the links to use the explicit references and targets. This probably can best be done by processing the RST sources with a script and generating the necessary changes.

Improve page anchor link styles for headings

When viewing subpages (example), if a user mouses over a heading, a page anchor link will appear. This enables visitors to link to and share specific sections of the page they're looking at. We should further improve the style of how that anchor appears, alongside the styling of the rest of the site:

CleanShot 2020-04-22 at 21 06 05

Add proper Sphinx labels

Sphinx supports references across files using its label mechanism. This requires labels to be set at the locations in the documentation which serve as target for references. This will be done after the automatic import has been completed.

Currently an intermediate file holds the labels for the references. These will have to be manually moved to the proper places in the documentation. Then the file can be removed.

Add BIPs

We should consider adding all BIPs to the site, for easy reference and additional content to associate in-context with other material that's already on the site. It would also be helpful to the user since it would integrate with the site search feature.

Some sort of Bitcoin Script guide + "playground"

I think it would be good to have a thorough documentation and guide on Script somewhere on the developer documentation as its own separate category.

Explaining Script would be pretty trivial, as the language itself is pretty simple. But I think we could make things even better by having some sort of interactive "Bitcoin Script playground", with a Script interpreter, and the reader being guided through with simple challenges and examples. There's something about the instant feedback that a playground can provide that would be helpful to a lot of people. I know lots of people use https://www.tryhaskell.org/ to play with Haskell in a similar way.

I'm thinking we can make this more of a process. We can first start writing a decent guide, and then make a design for the playground (how do we blend it into the guide? we obviously want the stack behaviour clearly animated right?), and just go from there. The hardest thing will be the design and UX, because we need to present it right, and make it easy to use. I really believe we should have some challenges, to encourage developers to actually come up with creative ways to use Script to solve actual problems.

Does anyone know of a good bug compatible Script interpreter written in JS? I don't trust the quality of JS projects much, so when I see libraries, I'm generally going to assume there's a ton of subtle bugs. This seems more like the kind of thing where we really don't want any bugs, except to be compatible with existing behavior on the network. I'm hoping someone has a interpreter they can strongly recommend that we can look into.

I could write the guide, but for the other stuff, Web / Javascript development really isn't my strong suit. I wonder if we can find an experienced JS developer with Bitcoin knowledge to help out with this, in exchange for a significant bounty or something. A lot of good can come out of a more interactive approach to educating people about Bitcoin internals.

Update P2P networking reference

I'm working on updating the P2P networking reference documentation, so that it reflects the current state and is consistent and accurate. I have some automation for that in place to make it easier to maintain correct format and example information. It's still very much work in progress, so nothing to see yet, but I'll update it once I have something.

I'm putting it down into this issue as one of the things I think should be done before we detach from the import of the original markdown information.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.