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

Documentation : Remove release notes for versions < 1.0.0.0 #5423

Merged
merged 1 commit into from
Aug 15, 2023
Merged
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: 4 additions & 0 deletions Changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ Fixes

- Viewer : Fixed crash when visualising lights with a light filter intended for a different renderer.

Documentation
-------------

- Removed release notes for versions prior to 1.0.0.0.

1.3.1.0 (relative to 1.3.0.0)
=======
Expand Down
11 changes: 8 additions & 3 deletions doc/source/ReleaseNotes/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,14 @@

m = re.match( r"^(Gaffer )?(([0-9]+\.){2,3}[0-9]+)", line )
if m :
versionIndex += ( "\n{}{}.md".format( " " * 4, m.group( 2 ) ) )
versionFile = open( m.group( 2 ) + ".md", "w" )
versionFile.write( m.group( 2 ) + "\n" )
versionString = m.group( 2 )
if versionString.startswith( "0." ) or versionString.count( "." ) != 3 :
# Ignore versions prior to 1.0.0.0
versionFile = None
else :
versionIndex += ( f"\n {versionString}.md" )
versionFile = open( f"{versionString}.md", "w" )
versionFile.write( f"{versionString}\n" )
continue

if not versionFile :
Expand Down
Loading