author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Tue, 31 Jan 2017 03:41:07 +0200 | |
changeset 190 | d1b12b602915 |
parent 181 | 2252379bcc70 |
child 193 | 6d35f7e53b7c |
permissions | -rw-r--r-- |
77 | 1 |
.. include:: header.rst |
47 | 2 |
|
3 |
================== |
|
4 |
2048 game JS AI. |
|
5 |
================== |
|
77 | 6 |
.. contents:: |
7 |
||
8 |
Document version. |
|
9 |
================= |
|
10 |
||
11 |
.. include:: VERSION.rst |
|
12 |
||
87 | 13 |
Home page. |
14 |
========== |
|
15 |
||
16 |
SF disallow hosting project with names starting with number. So ``js-2048-ai`` used instead of |
|
17 |
``2048-js-ai``. |
|
18 |
||
181
2252379bcc70
Point to new home page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
87
diff
changeset
|
19 |
http://2048.defun.work/ |
2252379bcc70
Point to new home page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
87
diff
changeset
|
20 |
New home page. |
87 | 21 |
http://js-2048-ai.sourceforge.net/ |
181
2252379bcc70
Point to new home page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
87
diff
changeset
|
22 |
Old home page. |
87 | 23 |
https://sourceforge.net/p/js-2048-ai/ |
24 |
SF home page. |
|
25 |
https://sourceforge.net/projects/js-2048-ai/files/ |
|
26 |
Releases. |
|
27 |
||
28 |
Getting sources. |
|
29 |
================ |
|
30 |
||
31 |
.. code:: console |
|
32 |
||
181
2252379bcc70
Point to new home page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
87
diff
changeset
|
33 |
$ hg clone http://hg.defun.work/2048-js-ai/ 2048-js-ai |
87 | 34 |
$ hg clone http://hg.code.sf.net/p/js-2048-ai/hg 2048-js-ai |
35 |
||
36 |
Getting help. |
|
37 |
============= |
|
38 |
||
39 |
See Authors_. |
|
40 |
||
77 | 41 |
Build docs. |
42 |
=========== |
|
43 |
||
44 |
Install reStructuredText text processor - docutils. On Debian: |
|
45 |
||
46 |
.. code:: console |
|
47 |
||
48 |
$ sudo apt-get install python-docutils |
|
49 |
||
50 |
Build docs: |
|
51 |
||
52 |
.. code:: console |
|
53 |
||
54 |
$ make docs |
|
47 | 55 |
|
57
94e1b2d0bd31
Add JSDoc annotation.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
47
diff
changeset
|
56 |
Build jsdoc. |
94e1b2d0bd31
Add JSDoc annotation.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
47
diff
changeset
|
57 |
============ |
94e1b2d0bd31
Add JSDoc annotation.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
47
diff
changeset
|
58 |
|
94e1b2d0bd31
Add JSDoc annotation.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
47
diff
changeset
|
59 |
.. code:: console |
94e1b2d0bd31
Add JSDoc annotation.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
47
diff
changeset
|
60 |
|
94e1b2d0bd31
Add JSDoc annotation.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
47
diff
changeset
|
61 |
$ make jsdoc |
94e1b2d0bd31
Add JSDoc annotation.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
47
diff
changeset
|
62 |
|
94e1b2d0bd31
Add JSDoc annotation.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
47
diff
changeset
|
63 |
Refer for JSDoc syntax to: |
94e1b2d0bd31
Add JSDoc annotation.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
47
diff
changeset
|
64 |
|
94e1b2d0bd31
Add JSDoc annotation.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
47
diff
changeset
|
65 |
* http://usejsdoc.org/ |
94e1b2d0bd31
Add JSDoc annotation.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
47
diff
changeset
|
66 |
* https://developers.google.com/closure/compiler/docs/js-for-compiler |
94e1b2d0bd31
Add JSDoc annotation.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
47
diff
changeset
|
67 |
* https://code.google.com/p/jsdoc-toolkit/w/list |
94e1b2d0bd31
Add JSDoc annotation.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
47
diff
changeset
|
68 |
|
181
2252379bcc70
Point to new home page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
87
diff
changeset
|
69 |
Deploy to hosting. |
2252379bcc70
Point to new home page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
87
diff
changeset
|
70 |
================== |
77 | 71 |
|
72 |
Be sure you at Mercurial tagged revision and run: |
|
73 |
||
74 |
.. code:: console |
|
75 |
||
181
2252379bcc70
Point to new home page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
87
diff
changeset
|
76 |
$ make deploy |
2252379bcc70
Point to new home page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
87
diff
changeset
|
77 |
|
2252379bcc70
Point to new home page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
87
diff
changeset
|
78 |
To deploy individually to ``defun.work`` or SourceForge run:: |
2252379bcc70
Point to new home page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
87
diff
changeset
|
79 |
|
2252379bcc70
Point to new home page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
87
diff
changeset
|
80 |
.. code:: console |
2252379bcc70
Point to new home page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
87
diff
changeset
|
81 |
|
2252379bcc70
Point to new home page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
87
diff
changeset
|
82 |
$ make deploy2defun |
77 | 83 |
$ make deploy2sf |
84 |