You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: entries.rb
    path of file: ./repos/devdocs/lib/docs/filters/bazel
    
    the code of the file until where you have to start completion: module Docs
  class Bazel
    class EntriesFilter < Docs::EntriesFilter

      def
    
      def additional_entries
        entries = []

        special_page_types = {
          'functions' => 'Function',
          'make-variables' => 'Make Variable',
          'common-definitions' => 'Common Definition',
        }
        page_type = special_page_types[subpath]
        unless page_type.nil?
          # only first ul
          at_css('.devsite-article-body > ul').css('li > a').each do |node|
            entries << [node.content.strip, node['href'].sub('#', ''), page_type]
          end
        end