{"action":"created","comment":{"url":"https://api.github.com/repos/artragis/zds-site/pulls/comments/30639742","id":30639742,"diff_hunk":"@@ -54,116 +156,153 @@ ces deux règles sont respectées).\n     système, les nouveaux *slugs* générés par le système d'édition de ZdS \n     n'en contiendront pas.\n \n-.. attention::\n+.. information::\n \n-    Lors du déplacement d'un conteneur ou d'un extrait, les slugs sont modifiés \n+    Lors du déplacement d'un conteneur ou d'un extrait, les *slugs* sont modifiés \n     de manière à ce qu'il n'y ait pas de collision.\n \n-    À noter que le slug doit être différent de celui donné aux noms des \n-    introductions et conclusions éventuelles. L'implémentation de ZdS considère \n-    que ceux-ci sont ``introduction`` et ``conclusion``, mais ce n'est pas \n-    obligatoire.\n+.. attention::\n \n-En fonction de sa position dans l'arborescence du contenu, un conteneur peut \n-aussi bien représenter le tutoriel/article lui-même (s'il est conteneur \n-principal), une partie ou un chapitre. Ainsi, dans l'exemple suivant :\n+    L'introduction et la conclusion d'un conteneur possèdent également un \n+    *slug*, pour des raisons de stockage (voir plus bas). Il ne faut pas \n+    oublier la contrainte d'unicité à l'intérieur d'un conteneur.\n \n-.. sourcecode:: text\n+Cycle de vie des contenus\n+==========================\n \n-    Contenu (tutoriel)\n-    |\n-    +-- Conteneur 1\n-         |\n-         +-- Extrait 1\n+Quelque soit le type de contenu, le cycle de vie de celui-ci reste toujours le même.\n+Un contenu peut être rédigé par un ou plusieurs auteurs. Chaque modification \n+est conservée afin de pouvoir retrouver l'historique des modifications et éventuellement\n+récupérer un morceau perdu. Lorsqu'un contenu est créé il rentre dans sa première étape.\n \n+Le brouillon\n+------------\n \n-le ``Conteneur 1`` sera rendu par ZdS comme étant un chapitre d'un (moyen-) \n-tutoriel, alors que dans l'exemple suivant :\n+Le brouillon est la première étape du cycle de vie d'un contenu. Il donne \n+toujours l'état le plus récent d'un contenu vu par les auteurs. Chaque fois \n+que le contenu est modifié, c'est la version brouillon qui est mise à jour. \n+La version brouillon est accessible uniquement pour les auteurs et validateurs \n+d'un tutoriel. Si on souhaite donner un accès en lecture seule à nos écrits, \n+il faut passer par la méthode adéquate.\n \n-.. sourcecode:: text\n+La bêta\n+-------\n \n-    Contenu (tutoriel)\n-    |\n-    +-- Conteneur 1\n-         |\n-         +-- Conteneur 2\n-         |     |\n-         |     +-- Extrait 1\n-         |\n-         +-- Conteneur 3\n-               |\n-               +-- Extrait 1\n+Lorsque les auteurs estiment que leur tutoriel a atteint un certain niveau de \n+maturité, et qu'ils souhaitent recueillir des retours de la communauté, ils ont \n+la possibilité de le mettre à la disposition de cette dernière le contenu en\n+lecture seule. C'est le mode bêta.\n \n+Lors de la mise en bêta d'un contenu, un sujet est automatiquement ouvert dans \n+la Bêta-zone.\n \n-le ``Conteneur 1`` sera rendu par ZdS comme étant une partie d'un (big-) \n-tutoriel, et ``Conteneur 2`` et ``Conteneur 3`` comme étant les chapitres de \n-cette partie.\n+Il faut en outre noter que seule une version précise du contenu est mise en \n+bêta. Au moment de la mise en bêta, les versions brouillon et bêta coïncident \n+mais l'auteur peut tout à fait poursuivre son travail sans affecter la seconde. \n+Seulement, la version brouillon ne sera plus identique à la version en bêta et \n+il ne faudra pas oublier de mettre à jour cette dernière pour que la communauté \n+puisse juger des dernières modifications.","path":"doc/source/back-end/tutorialv2.rst","position":261,"original_position":261,"commit_id":"02b110035e2b978b43b8e62c0e54563e84b33573","original_commit_id":"02b110035e2b978b43b8e62c0e54563e84b33573","user":{"login":"Vayel","id":6124369,"avatar_url":"https://avatars.githubusercontent.com/u/6124369?v=3","gravatar_id":"","url":"https://api.github.com/users/Vayel","html_url":"https://github.com/Vayel","followers_url":"https://api.github.com/users/Vayel/followers","following_url":"https://api.github.com/users/Vayel/following{/other_user}","gists_url":"https://api.github.com/users/Vayel/gists{/gist_id}","starred_url":"https://api.github.com/users/Vayel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vayel/subscriptions","organizations_url":"https://api.github.com/users/Vayel/orgs","repos_url":"https://api.github.com/users/Vayel/repos","events_url":"https://api.github.com/users/Vayel/events{/privacy}","received_events_url":"https://api.github.com/users/Vayel/received_events","type":"User","site_admin":false},"body":"C'est bien un identifiant unique pour le contenu, sous forme d'entier naturel ? Et lui seul est pris en compte dans l'url ?","created_at":"2015-05-19T19:57:27Z","updated_at":"2015-05-19T19:57:27Z","html_url":"https://github.com/artragis/zds-site/pull/130#discussion_r30639742","pull_request_url":"https://api.github.com/repos/artragis/zds-site/pulls/130","_links":{"self":{"href":"https://api.github.com/repos/artragis/zds-site/pulls/comments/30639742"},"html":{"href":"https://github.com/artragis/zds-site/pull/130#discussion_r30639742"},"pull_request":{"href":"https://api.github.com/repos/artragis/zds-site/pulls/130"}}},"pull_request":{"url":"https://api.github.com/repos/artragis/zds-site/pulls/130","id":35712395,"html_url":"https://github.com/artragis/zds-site/pull/130","diff_url":"https://github.com/artragis/zds-site/pull/130.diff","patch_url":"https://github.com/artragis/zds-site/pull/130.patch","issue_url":"https://api.github.com/repos/artragis/zds-site/issues/130","number":130,"state":"open","locked":false,"title":"Doc","user":{"login":"Vayel","id":6124369,"avatar_url":"https://avatars.githubusercontent.com/u/6124369?v=3","gravatar_id":"","url":"https://api.github.com/users/Vayel","html_url":"https://github.com/Vayel","followers_url":"https://api.github.com/users/Vayel/followers","following_url":"https://api.github.com/users/Vayel/following{/other_user}","gists_url":"https://api.github.com/users/Vayel/gists{/gist_id}","starred_url":"https://api.github.com/users/Vayel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vayel/subscriptions","organizations_url":"https://api.github.com/users/Vayel/orgs","repos_url":"https://api.github.com/users/Vayel/repos","events_url":"https://api.github.com/users/Vayel/events{/privacy}","received_events_url":"https://api.github.com/users/Vayel/received_events","type":"User","site_admin":false},"body":"Ne pas merger tout de suite.","created_at":"2015-05-19T09:45:42Z","updated_at":"2015-05-19T19:57:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4ca6155200701cd4f9c66b73e3a1e8e01af5b736","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/artragis/zds-site/pulls/130/commits","review_comments_url":"https://api.github.com/repos/artragis/zds-site/pulls/130/comments","review_comment_url":"https://api.github.com/repos/artragis/zds-site/pulls/comments{/number}","comments_url":"https://api.github.com/repos/artragis/zds-site/issues/130/comments","statuses_url":"https://api.github.com/repos/artragis/zds-site/statuses/02b110035e2b978b43b8e62c0e54563e84b33573","head":{"label":"Vayel:doc_zep_12","ref":"doc_zep_12","sha":"02b110035e2b978b43b8e62c0e54563e84b33573","user":{"login":"Vayel","id":6124369,"avatar_url":"https://avatars.githubusercontent.com/u/6124369?v=3","gravatar_id":"","url":"https://api.github.com/users/Vayel","html_url":"https://github.com/Vayel","followers_url":"https://api.github.com/users/Vayel/followers","following_url":"https://api.github.com/users/Vayel/following{/other_user}","gists_url":"https://api.github.com/users/Vayel/gists{/gist_id}","starred_url":"https://api.github.com/users/Vayel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vayel/subscriptions","organizations_url":"https://api.github.com/users/Vayel/orgs","repos_url":"https://api.github.com/users/Vayel/repos","events_url":"https://api.github.com/users/Vayel/events{/privacy}","received_events_url":"https://api.github.com/users/Vayel/received_events","type":"User","site_admin":false},"repo":{"id":33410755,"name":"zds-site","full_name":"Vayel/zds-site","owner":{"login":"Vayel","id":6124369,"avatar_url":"https://avatars.githubusercontent.com/u/6124369?v=3","gravatar_id":"","url":"https://api.github.com/users/Vayel","html_url":"https://github.com/Vayel","followers_url":"https://api.github.com/users/Vayel/followers","following_url":"https://api.github.com/users/Vayel/following{/other_user}","gists_url":"https://api.github.com/users/Vayel/gists{/gist_id}","starred_url":"https://api.github.com/users/Vayel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vayel/subscriptions","organizations_url":"https://api.github.com/users/Vayel/orgs","repos_url":"https://api.github.com/users/Vayel/repos","events_url":"https://api.github.com/users/Vayel/events{/privacy}","received_events_url":"https://api.github.com/users/Vayel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Vayel/zds-site","description":"Dépot ZDS","fork":true,"url":"https://api.github.com/repos/Vayel/zds-site","forks_url":"https://api.github.com/repos/Vayel/zds-site/forks","keys_url":"https://api.github.com/repos/Vayel/zds-site/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Vayel/zds-site/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Vayel/zds-site/teams","hooks_url":"https://api.github.com/repos/Vayel/zds-site/hooks","issue_events_url":"https://api.github.com/repos/Vayel/zds-site/issues/events{/number}","events_url":"https://api.github.com/repos/Vayel/zds-site/events","assignees_url":"https://api.github.com/repos/Vayel/zds-site/assignees{/user}","branches_url":"https://api.github.com/repos/Vayel/zds-site/branches{/branch}","tags_url":"https://api.github.com/repos/Vayel/zds-site/tags","blobs_url":"https://api.github.com/repos/Vayel/zds-site/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Vayel/zds-site/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Vayel/zds-site/git/refs{/sha}","trees_url":"https://api.github.com/repos/Vayel/zds-site/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Vayel/zds-site/statuses/{sha}","languages_url":"https://api.github.com/repos/Vayel/zds-site/languages","stargazers_url":"https://api.github.com/repos/Vayel/zds-site/stargazers","contributors_url":"https://api.github.com/repos/Vayel/zds-site/contributors","subscribers_url":"https://api.github.com/repos/Vayel/zds-site/subscribers","subscription_url":"https://api.github.com/repos/Vayel/zds-site/subscription","commits_url":"https://api.github.com/repos/Vayel/zds-site/commits{/sha}","git_commits_url":"https://api.github.com/repos/Vayel/zds-site/git/commits{/sha}","comments_url":"https://api.github.com/repos/Vayel/zds-site/comments{/number}","issue_comment_url":"https://api.github.com/repos/Vayel/zds-site/issues/comments{/number}","contents_url":"https://api.github.com/repos/Vayel/zds-site/contents/{+path}","compare_url":"https://api.github.com/repos/Vayel/zds-site/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Vayel/zds-site/merges","archive_url":"https://api.github.com/repos/Vayel/zds-site/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Vayel/zds-site/downloads","issues_url":"https://api.github.com/repos/Vayel/zds-site/issues{/number}","pulls_url":"https://api.github.com/repos/Vayel/zds-site/pulls{/number}","milestones_url":"https://api.github.com/repos/Vayel/zds-site/milestones{/number}","notifications_url":"https://api.github.com/repos/Vayel/zds-site/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Vayel/zds-site/labels{/name}","releases_url":"https://api.github.com/repos/Vayel/zds-site/releases{/id}","created_at":"2015-04-04T15:48:25Z","updated_at":"2015-04-04T15:48:26Z","pushed_at":"2015-05-19T13:59:59Z","git_url":"git://github.com/Vayel/zds-site.git","ssh_url":"git@github.com:Vayel/zds-site.git","clone_url":"https://github.com/Vayel/zds-site.git","svn_url":"https://github.com/Vayel/zds-site","homepage":null,"size":86445,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"dev"}},"base":{"label":"artragis:zep_12_double_stack","ref":"zep_12_double_stack","sha":"1282dd2feaa6d06cb0a2d5d5432656975d0c6f31","user":{"login":"artragis","id":1523653,"avatar_url":"https://avatars.githubusercontent.com/u/1523653?v=3","gravatar_id":"","url":"https://api.github.com/users/artragis","html_url":"https://github.com/artragis","followers_url":"https://api.github.com/users/artragis/followers","following_url":"https://api.github.com/users/artragis/following{/other_user}","gists_url":"https://api.github.com/users/artragis/gists{/gist_id}","starred_url":"https://api.github.com/users/artragis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artragis/subscriptions","organizations_url":"https://api.github.com/users/artragis/orgs","repos_url":"https://api.github.com/users/artragis/repos","events_url":"https://api.github.com/users/artragis/events{/privacy}","received_events_url":"https://api.github.com/users/artragis/received_events","type":"User","site_admin":false},"repo":{"id":20302770,"name":"zds-site","full_name":"artragis/zds-site","owner":{"login":"artragis","id":1523653,"avatar_url":"https://avatars.githubusercontent.com/u/1523653?v=3","gravatar_id":"","url":"https://api.github.com/users/artragis","html_url":"https://github.com/artragis","followers_url":"https://api.github.com/users/artragis/followers","following_url":"https://api.github.com/users/artragis/following{/other_user}","gists_url":"https://api.github.com/users/artragis/gists{/gist_id}","starred_url":"https://api.github.com/users/artragis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artragis/subscriptions","organizations_url":"https://api.github.com/users/artragis/orgs","repos_url":"https://api.github.com/users/artragis/repos","events_url":"https://api.github.com/users/artragis/events{/privacy}","received_events_url":"https://api.github.com/users/artragis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/artragis/zds-site","description":"Dépot ZDS","fork":true,"url":"https://api.github.com/repos/artragis/zds-site","forks_url":"https://api.github.com/repos/artragis/zds-site/forks","keys_url":"https://api.github.com/repos/artragis/zds-site/keys{/key_id}","collaborators_url":"https://api.github.com/repos/artragis/zds-site/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/artragis/zds-site/teams","hooks_url":"https://api.github.com/repos/artragis/zds-site/hooks","issue_events_url":"https://api.github.com/repos/artragis/zds-site/issues/events{/number}","events_url":"https://api.github.com/repos/artragis/zds-site/events","assignees_url":"https://api.github.com/repos/artragis/zds-site/assignees{/user}","branches_url":"https://api.github.com/repos/artragis/zds-site/branches{/branch}","tags_url":"https://api.github.com/repos/artragis/zds-site/tags","blobs_url":"https://api.github.com/repos/artragis/zds-site/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/artragis/zds-site/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/artragis/zds-site/git/refs{/sha}","trees_url":"https://api.github.com/repos/artragis/zds-site/git/trees{/sha}","statuses_url":"https://api.github.com/repos/artragis/zds-site/statuses/{sha}","languages_url":"https://api.github.com/repos/artragis/zds-site/languages","stargazers_url":"https://api.github.com/repos/artragis/zds-site/stargazers","contributors_url":"https://api.github.com/repos/artragis/zds-site/contributors","subscribers_url":"https://api.github.com/repos/artragis/zds-site/subscribers","subscription_url":"https://api.github.com/repos/artragis/zds-site/subscription","commits_url":"https://api.github.com/repos/artragis/zds-site/commits{/sha}","git_commits_url":"https://api.github.com/repos/artragis/zds-site/git/commits{/sha}","comments_url":"https://api.github.com/repos/artragis/zds-site/comments{/number}","issue_comment_url":"https://api.github.com/repos/artragis/zds-site/issues/comments{/number}","contents_url":"https://api.github.com/repos/artragis/zds-site/contents/{+path}","compare_url":"https://api.github.com/repos/artragis/zds-site/compare/{base}...{head}","merges_url":"https://api.github.com/repos/artragis/zds-site/merges","archive_url":"https://api.github.com/repos/artragis/zds-site/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/artragis/zds-site/downloads","issues_url":"https://api.github.com/repos/artragis/zds-site/issues{/number}","pulls_url":"https://api.github.com/repos/artragis/zds-site/pulls{/number}","milestones_url":"https://api.github.com/repos/artragis/zds-site/milestones{/number}","notifications_url":"https://api.github.com/repos/artragis/zds-site/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/artragis/zds-site/labels{/name}","releases_url":"https://api.github.com/repos/artragis/zds-site/releases{/id}","created_at":"2014-05-29T17:51:23Z","updated_at":"2015-05-08T16:51:46Z","pushed_at":"2015-05-19T14:52:05Z","git_url":"git://github.com/artragis/zds-site.git","ssh_url":"git@github.com:artragis/zds-site.git","clone_url":"https://github.com/artragis/zds-site.git","svn_url":"https://github.com/artragis/zds-site","homepage":null,"size":88880,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":31,"forks":2,"open_issues":31,"watchers":0,"default_branch":"zep_12_double_stack"}},"_links":{"self":{"href":"https://api.github.com/repos/artragis/zds-site/pulls/130"},"html":{"href":"https://github.com/artragis/zds-site/pull/130"},"issue":{"href":"https://api.github.com/repos/artragis/zds-site/issues/130"},"comments":{"href":"https://api.github.com/repos/artragis/zds-site/issues/130/comments"},"review_comments":{"href":"https://api.github.com/repos/artragis/zds-site/pulls/130/comments"},"review_comment":{"href":"https://api.github.com/repos/artragis/zds-site/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/artragis/zds-site/pulls/130/commits"},"statuses":{"href":"https://api.github.com/repos/artragis/zds-site/statuses/02b110035e2b978b43b8e62c0e54563e84b33573"}}}}