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 a few typos #431

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Implement the changes under the proper book source.

## Syntax

The book is in the markmin syntax. Images are incuded with the syntax
The book is in the markmin syntax. Images are included with the syntax

[[image @///image/key width:200px]]

Expand All @@ -49,7 +49,7 @@ Index entries are added with

They are used to build the printable book index.

You can also add internal anchors (i.e. links) that will be automatically numbered and trasformed to hyperlinks on the Web and PDF output.
You can also add internal anchors (i.e. links) that will be automatically numbered and transformed to hyperlinks on the Web and PDF output.
You can find all the markmin syntax reference on this page http://web2py.com/examples/static/markmin.html

Once done submit patch as a pull request on github, or email the author.
Expand Down
2 changes: 1 addition & 1 deletion modules/hladapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def hladapter(txt, clsid='',
if k.startswith('lexer_'):
lexer_opts[k[6:]] = kwargs[k]
elif k == 'hl_lines' and not isinstance(kwargs[k], tuple):
# alllow single value (not a tuple)
# allow single value (not a tuple)
formatter_opts[k] = (kwargs[k],)
else:
formatter_opts[k] = kwargs[k]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ Comme avant, depuis la page **site** dans **admin**, créez une nouvelle applica
[[image @///image/en1900.png center 480px]]

Nous commençons par créer un modèle, une représentation des données persistente dans l'application (les images à uploader, leurs noms, et les commentaires). Premièrement, vous avez besoin de créer/éditer un fichier modèle que nous appellerons, par manque d'imagination, "db.py". Nous supposons que le code suivant remplacera tout code existant dans "db.py". Les modèles et contrôleurs doivent avoir une extension ``.py`` puisque c'est du code Python. Si l'extension n'est pas précisée, elle est ajoutée par web2py. Les vues, elles, ont une extension ``.html`` puisqu'elles contiennent principalement du code HTML.

Supprimer le modèle "menu.py".
Modifiez le fichier "db.py" en cliquant sur le bouton "modifier" correspondant :

[[image @///image/en2000.png center 480px]]
Expand Down
4 changes: 2 additions & 2 deletions static/js/jquery.highlight.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* - highlight element tag and class names can be specified in options
*
* Usage:
* // wrap every occurrance of text 'lorem' in content
* // wrap every occurrence of text 'lorem' in content
* // with <span class='highlight'> (default options)
* $('#content').highlight('lorem');
*
Expand All @@ -26,7 +26,7 @@
* // don't ignore case during search of term 'lorem'
* $('#content').highlight('lorem', { caseSensitive: true });
*
* // wrap every occurrance of term 'ipsum' in content
* // wrap every occurrence of term 'ipsum' in content
* // with <em class='important'>
* $('#content').highlight('ipsum', { element: 'em', className: 'important' });
*
Expand Down