mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Initial version tracking implementation
This commit is contained in:
20
tests/root/versioning/added.txt
Normal file
20
tests/root/versioning/added.txt
Normal file
@@ -0,0 +1,20 @@
|
||||
Versioning test text
|
||||
====================
|
||||
|
||||
So the thing is I need some kind of text - not the lorem ipsum stuff, that
|
||||
doesn't work out that well - to test :mod:`sphinx.versioning`. I couldn't find
|
||||
a good text for that under public domain so I thought the easiest solution is
|
||||
to write one by myself. It's not really interesting, in fact it is *really*
|
||||
boring.
|
||||
|
||||
Anyway I need more than one paragraph, at least three for the original
|
||||
document, I think, and another one for two different ones.
|
||||
|
||||
So the previous paragraph was a bit short because I don't want to test this
|
||||
only on long paragraphs, I hope it was short enough to cover most stuff.
|
||||
Anyway I see this lacks ``some markup`` so I have to add a **little** bit.
|
||||
|
||||
Woho another paragraph, if this test fails we really have a problem because
|
||||
this means the algorithm itself fails and not the diffing algorithm which is
|
||||
pretty much doomed anyway as it probably fails for some kind of language
|
||||
respecting certain nodes anyway but we can't work around that anyway.
|
||||
12
tests/root/versioning/deleted.txt
Normal file
12
tests/root/versioning/deleted.txt
Normal file
@@ -0,0 +1,12 @@
|
||||
Versioning test text
|
||||
====================
|
||||
|
||||
So the thing is I need some kind of text - not the lorem ipsum stuff, that
|
||||
doesn't work out that well - to test :mod:`sphinx.versioning`. I couldn't find
|
||||
a good text for that under public domain so I thought the easiest solution is
|
||||
to write one by myself. It's not really interesting, in fact it is *really*
|
||||
boring.
|
||||
|
||||
So the previous paragraph was a bit short because I don't want to test this
|
||||
only on long paragraphs, I hope it was short enough to cover most stuff.
|
||||
Anyway I see this lacks ``some markup`` so I have to add a **little** bit.
|
||||
11
tests/root/versioning/deleted_end.txt
Normal file
11
tests/root/versioning/deleted_end.txt
Normal file
@@ -0,0 +1,11 @@
|
||||
Versioning test text
|
||||
====================
|
||||
|
||||
So the thing is I need some kind of text - not the lorem ipsum stuff, that
|
||||
doesn't work out that well - to test :mod:`sphinx.versioning`. I couldn't find
|
||||
a good text for that under public domain so I thought the easiest solution is
|
||||
to write one by myself. It's not really interesting, in fact it is *really*
|
||||
boring.
|
||||
|
||||
Anyway I need more than one paragraph, at least three for the original
|
||||
document, I think, and another one for two different ones.
|
||||
11
tests/root/versioning/index.txt
Normal file
11
tests/root/versioning/index.txt
Normal file
@@ -0,0 +1,11 @@
|
||||
Versioning Stuff
|
||||
================
|
||||
|
||||
.. toctree::
|
||||
|
||||
original
|
||||
added
|
||||
insert
|
||||
deleted
|
||||
deleted_end
|
||||
modified
|
||||
18
tests/root/versioning/insert.txt
Normal file
18
tests/root/versioning/insert.txt
Normal file
@@ -0,0 +1,18 @@
|
||||
Versioning test text
|
||||
====================
|
||||
|
||||
So the thing is I need some kind of text - not the lorem ipsum stuff, that
|
||||
doesn't work out that well - to test :mod:`sphinx.versioning`. I couldn't find
|
||||
a good text for that under public domain so I thought the easiest solution is
|
||||
to write one by myself. It's not really interesting, in fact it is *really*
|
||||
boring.
|
||||
|
||||
So this paragraph is just something I inserted in this document to test if our
|
||||
algorithm notices that this paragraph is not just a changed version.
|
||||
|
||||
Anyway I need more than one paragraph, at least three for the original
|
||||
document, I think, and another one for two different ones.
|
||||
|
||||
So the previous paragraph was a bit short because I don't want to test this
|
||||
only on long paragraphs, I hope it was short enough to cover most stuff.
|
||||
Anyway I see this lacks ``some markup`` so I have to add a **little** bit.
|
||||
17
tests/root/versioning/modified.txt
Normal file
17
tests/root/versioning/modified.txt
Normal file
@@ -0,0 +1,17 @@
|
||||
Versioning test text
|
||||
====================
|
||||
|
||||
So the thing is I need some kind of text - not the lorem ipsum stuff, that
|
||||
doesn't work out that well - to test :mod:`sphinx.versioning`. I couldn't find
|
||||
a good text for that under public domain so I thought the easiest solution is
|
||||
to write one by myself. Inserting something silly as a modification, btw. have
|
||||
you seen the typo below?. It's not really interesting, in fact it is *really*
|
||||
boring.
|
||||
|
||||
Anyway I need more than one paragraph, at least three for the original
|
||||
document, I think, and another one for two different ones. So this is a small
|
||||
modification by adding something to this paragraph.
|
||||
|
||||
So the previous paragraph was a bit short because I don't want to test this
|
||||
only on long paragraphs, I hoep it was short enough to cover most stuff.
|
||||
Anyway I see this lacks ``some markup`` so I have to add a **little** bit.
|
||||
15
tests/root/versioning/original.txt
Normal file
15
tests/root/versioning/original.txt
Normal file
@@ -0,0 +1,15 @@
|
||||
Versioning test text
|
||||
====================
|
||||
|
||||
So the thing is I need some kind of text - not the lorem ipsum stuff, that
|
||||
doesn't work out that well - to test :mod:`sphinx.versioning`. I couldn't find
|
||||
a good text for that under public domain so I thought the easiest solution is
|
||||
to write one by myself. It's not really interesting, in fact it is *really*
|
||||
boring.
|
||||
|
||||
Anyway I need more than one paragraph, at least three for the original
|
||||
document, I think, and another one for two different ones.
|
||||
|
||||
So the previous paragraph was a bit short because I don't want to test this
|
||||
only on long paragraphs, I hope it was short enough to cover most stuff.
|
||||
Anyway I see this lacks ``some markup`` so I have to add a **little** bit.
|
||||
Reference in New Issue
Block a user