# gn

Published articles for gn.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Automating code deletion with Gemini (and a little Python)

DevFeed: [Automating code deletion with Gemini (and a little Python)](<https://devfeed.tech/articles/automating-code-deletion-with-gemini-and-a-little-python-31143.md>)

Original publisher: [Read original article](<https://technicalwriting.dev/2025/04/gn/index.html>)

Published: 2025-04-29T00:00:00Z

Content type: tutorial

Language: en

Sources: [technicalwriting.dev](<https://devfeed.tech/sources/technicalwriting-dev.md>)

Topics: [Google AI](<https://devfeed.tech/topics/google-ai.md>), [Python](<https://devfeed.tech/topics/python.md>), [API](<https://devfeed.tech/topics/api.md>), [Automation](<https://devfeed.tech/topics/automation.md>), [Code](<https://devfeed.tech/topics/code.md>), [bazel](<https://devfeed.tech/topics/bazel.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [automation](<https://devfeed.tech/tags/automation.md>), [bazel](<https://devfeed.tech/tags/bazel.md>), [build](<https://devfeed.tech/tags/build.md>), [code](<https://devfeed.tech/tags/code.md>), [gemini](<https://devfeed.tech/tags/gemini.md>), [genai](<https://devfeed.tech/tags/genai.md>), [gn](<https://devfeed.tech/tags/gn.md>), [python](<https://devfeed.tech/tags/python.md>), [script](<https://devfeed.tech/tags/script.md>)

### AI overview

The article describes a hybrid automation workflow that uses Python for repository-wide file discovery and filtering, then uses the Gemini API to remove documentation-generation features from 235 GN build files after a migration to Bazel.

### Source excerpt

Removing code from over 200 GN build files with Python and the Gemini API.