summaryrefslogtreecommitdiff
path: root/doc
AgeCommit message (Collapse)Author
2024-01-13Added links to the Spanish documentation alongside other languages.Leonard Richardson
2024-01-13Updated the name of the html5lib Debian package. [bug=2049267]Leonard Richardson
2024-01-13Fixed some cross-reference syntax errors.Leonard Richardson
2024-01-13Made some long-awaited edits, mainly removing information about ↵Leonard Richardson
no-longer-supported versions of Python.
2023-11-25some doc suggestions from a first-time userLeonard Richardson
Signed-off-by: Chris Papademetrious <chrispitude@gmail.com>
2023-04-07Update release instructions for 4.12.2.Leonard Richardson
2023-04-05Prepare for 4.12.1 release.Leonard Richardson
2023-03-30Added tox environments for building the docs and running tests with no ↵Leonard Richardson
dependencies installed.
2023-03-20Replace pytest with python -m pytest in the release preparation script.Leonard Richardson
2023-03-20Updated version number in docs.Leonard Richardson
2023-03-15Rewrote documentation so that py:class:: directives could be inserted and ↵Leonard Richardson
the text would flow naturally.
2023-03-15Add documentation references for the bs4 module itself as well as all ↵Leonard Richardson
currently documented classes.
2023-02-13Fixed the UnicodeDammit example so that the example is more obviously UTF-8.Leonard Richardson
2023-02-09Add another import of NavigableString just before the constructor is used, ↵Leonard Richardson
since most people don't run all the code in the doc in order.
2023-02-08Fixed syntax errors in documentation.Leonard Richardson
2023-02-07Removed Soup Sieve fallback method, added documentation.Leonard Richardson
2023-01-29Reworded the 'multi-valued attributes' portion of the documentation to make ↵Leonard Richardson
it more clear. [bug=1970767]
2023-01-28Incremented version number.Leonard Richardson
2023-01-25Added missing Fish-Footman image from documentation.Leonard Richardson
2023-01-25Added sphinx Makefile, which was not originally under version control.Leonard Richardson
2023-01-25Removed very old documentation that was imported as part of the bzr import ↵Leonard Richardson
but not removed.
2022-04-07Incremented version number in documentation.Leonard Richardson
2021-12-22Correct documentation on parser differencesFeRD (Frank Dana)
2021-12-21Added a bit about not modifying the .contents list directly.Leonard Richardson
2021-12-21Fixed typo in documentation spotted by a reader.Leonard Richardson
2021-12-21It's now possible to customize the way output is indented byLeonard Richardson
providing a value for the 'indent' argument to the Formatter constructor. The 'indent' argument works very similarly to the argument of the same name in the Python standard library's json.dump() method. [bug=1955497]
2021-12-19If the charset-normalizer Python moduleLeonard Richardson
(https://pypi.org/project/charset-normalizer/) is installed, Beautiful Soup will use it to detect the character sets of incoming documents. This is also the module used by newer versions of the Requests library. For the sake of backwards compatibility, chardet and cchardet both take precedence if installed. [bug=1955346]
2021-11-29Do a better job of keeping track of namespaces as an XML document isLeonard Richardson
parsed, so that CSS selectors that use namespaces will do the right thing more often. [bug=1946243]
2021-10-11Removed redundant and nonworking argument from example code. [bug=1946243]Leonard Richardson
2021-09-07Goodbye, Python 2. [bug=1942919]Leonard Richardson
2021-06-01The 'replace_with()' method now takes a variable number of arguments,Leonard Richardson
and can be used to replace a single element with a sequence of elements. Patch by Bill Chandos.
2021-04-08Brought in fuzz tests from the oss-project into Beautiful Soup's unit test ↵Leonard Richardson
suite.
2021-02-14NavigableString and its subclasses now implement the get_text()Leonard Richardson
method, as well as the properties .strings and .stripped_strings. These methods will either return the string itself, or nothing, so the only reason to use this is when iterating over a list of mixed Tag and NavigableString objects. [bug=1904309]
2021-02-14The 'html5' formatter now treats attributes whose values are theLeonard Richardson
empty string as HTML boolean attributes. Previously (and in other formatters), an attribute value must be set as None to be treated as a boolean attribute. In a future release, I plan to also give this behavior to the 'html' formatter. Patch by Isaac Muse. [bug=1915424]
2020-10-03I always forget to bump the version number in the doc.Leonard Richardson
2020-09-26Changed version number of development Python in use.Leonard Richardson
2020-09-26Incremented version number in the documentation.Leonard Richardson
2020-09-26Fixed a bug that inconsistently moved elements over when passingLeonard Richardson
a Tag, rather than a list, into Tag.extend(). [bug=1885710]
2020-07-29Ran through all of the documentation code examples using Python 3, corrected ↵Leonard Richardson
discrepancies and errors, and updated representations.
2020-07-24Added a paragraph to the documentation about the fact that bs4 Tag ↵Leonard Richardson
implements __hash__ and bs3 Tag doesn't.
2020-06-11Converted the sample code in README.md to Python 3.Leonard Richardson
2020-05-31Make the doc a little less defensive.Leonard Richardson
2020-05-31Added to the troubleshooting section a bit to catch searches for the ↵Leonard Richardson
AttributeError that happens if you treat a string like a tag.
2020-05-30Remove explicit reference to the module name within the module, replacing it ↵Leonard Richardson
with __name__.
2020-05-17Documented some recently added customization features.Leonard Richardson
2020-05-17Added docstring for BeautifulSoup.new_tag.Leonard Richardson
2020-04-25Try to clarify the docs further that get_text now returns human-readable text.Leonard Richardson
2020-04-24If you encode a document with a Python-specific encoding likeLeonard Richardson
'unicode_escape', that encoding is no longer mentioned in the final XML or HTML document. Instead, encoding information is omitted or left blank. [bug=1874955]
2020-04-07Added a notice about the new behavior of .text to the documentation.Leonard Richardson
2020-04-05Embedded CSS and Javascript is now stored in distinct Stylesheet andLeonard Richardson
Script tags, which are ignored by methods like get_text(). This feature is not supported by the html5lib treebuilder. [bug=1868861]