Giter VIP home page Giter VIP logo

referencia_cks's Introduction

Cómo consultar

La parte necesaria para usar a modo de consulta es únicamente el contenido de la carpeta dist/, abrir el archivo dist/dump_try.html con cualquier explorador (Chrome, Firefox, etc).

Cómo colaborar

(English below)

En la carpeta dist/ se encuentra el archivo data.js generado a partir de dump_try.xml usando el código python.

Para colaborar, clonar el repositorio, modificar en dist/data.js la función elegida cambiando el valor de "name" de los parámetros y añadiendo un nuevo parámetro "description" con una descripción de lo que realiza el método. Si deseas especificar también la traducción al inglés, puedes usar las claves "name_en" y "description_en" respectivamente.

Finalmente, realizar una pull request y yo lo mezclaré eventualmente.

Links a métodos o tipos (si sabes algo de HTML)

En las descripciones de los métodos, puedes emplear enlaces a otros métodos. Hay algunos ejemplos de esto en los métodos ya documentados. Cada método tiene un id único que puedes comprobar desde tu explorador (es el atributo id del div que contiene al método, por ejemplo el método Obj::AddItem tiene el id Obj::AddItem:str). Para enlazar a este método basta con poner una etiqueta <a> que enlace al id precedido de # (si quisiéramos enlazar al método Obj::AddItem poniendo como texto Esto es un link al método pondríamos: <a href="#Obj::AddItem:str">Esto es un link al método</a>).

Lo mismo sirve para los tipos, aunque basta con enlazar a # seguido del nombre del tipo en cuestión (por ejemplo <a href="#str">esto sería un enlace a str</a>).

English

In the dist/ folder, you will find a data.js file which is the result of parsing the whole dump_try.xml file. You can modify this file to add descriptions to methods which haven't been documented yet, as well as changing the names of the parameters (you can see already-documented methods as an example).

In the parameters, use "name" to specify the name in Spanish or "name_en" to specify the name in english. Likewise, you can use "description" on the methods to specify their description in Spanish or "description_en" to specify a description in English.

Perform a pull request in GitHub and I will eventually merge it into the main repo.

Links to methods or types (some HTML knowledge required)

In the descriptions you provide for the methods, you can use links (or anchors) to other methods. There are some examples of this in the already-documented methods. Each method has a unique id which you can check using your browser, for example (it is generated from the name and attributes of the method, for example the method Obj::AddItem has the following id: Obj::AddItem:str).

To link a text to this method you can employ the anchor tag <a>, linking to the id of the method preceded by a #. For example, to link to the previously-mentioned method through the text This is the method, we could write: <a href="#Obj::AddItem:str">This is the method</a>.

The same goes for types, which can be linked by # followed by the name of the type (for example <a href="#str">this would be a link to str</a>).

referencia_cks's People

Contributors

david-campos avatar cntkillme avatar matahombres avatar

Stargazers

Alberto de la Cruz avatar Alvaro Ruy Perez avatar  avatar Francisco Martínez Lasaca avatar

Watchers

James Cloos avatar  avatar Alvaro Ruy Perez avatar

Forkers

matahombres

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.